Announcement

Collapse
No announcement yet.

How to access a school printer[solved]/condensing three partitions to one

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: How to access a school printer

    I didn't think that uname would help

    Here is lsb_release:
    Code:
    williamsj2@R8RZW40:~> lsb_release
    LSB Version:	core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-ia32:core-3.2-ia32:core-
    4.0-ia32:desktop-4.0-ia32:desktop-4.0-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-
    3.2-ia32:graphics-3.2-noarch:graphics-4.0-ia32:graphics-4.0-noarch
    EDIT: This code is all one line, but I put 'enters' in it to make reading more friendly

    And here is ifconfig:
    ...it produced an error message :P
    Code:
    williamsj2@R8RZW40:~> ifconfig
    bash: ifconfig: command not found
    And the "school issued Linux" is the Linux that they install on our computers. Everybody hates it. So everybody puts Windows on it, with the Novell Client and stuff. But I don't want windows on my computer. I want Kubuntu, cause its more awesome

    Its a private high school, its called Hargrave. Theres only two people in the IT Department, though they have the help of Novell behind them..
    Computer Lie #1: You&#39;ll never use all that disk space.<br />FATAL SYSTEM ERROR: Press F13 to continue...<br />The box said, &quot;Requires Windows 7 Home Edition or better&quot; ..so I installed Linux<br />My software never has bugs. It just develops random features.<br />Bad command. Bad, bad command! Sit! Stay! Staaay...

    Comment


      #17
      Re: How to access a school printer

      likely ifconfig is there, just not in your path. Try /bin/ifconfig or /sbin/ifconfig

      Please Read Me

      Comment


        #18
        Re: How to access a school printer

        IF they have the help of Novell behind them are they running openSUSE or SUSE Enterprise Linux Server? Either way, it's probably set up so that it can never become a Master Browser, thus easily replaced by a Windows server.

        I am surprised that ifconfig isn't in /sbin (system binaries), which is (should be) in $PATH.
        Code:
        $ echo $PATH
        /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
        You can use "whereis" or "locate" to find a file.
        Code:
        $ whereis ifconfig
        ifconfig: /sbin/ifconfig /usr/share/man/man8/ifconfig.8.gz
        Code:
        $ locate ifconfig
        /home/jerry/sage-4.6-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/local/lib/python2.6/site-packages/Sphinx-0.6.3-py2.6.egg/sphinx/ext/ifconfig.py
        /sbin/ifconfig
        /usr/share/man/de/man8/ifconfig.8.gz
        /usr/share/man/fr/man8/ifconfig.8.gz
        /usr/share/man/man8/ifconfig.8.gz
        /usr/share/man/pt_BR/man8/ifconfig.8.gz
        Not knowing the distribution & its version, or the network hierarchy, makes it more difficult to help.


        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment


          #19
          Re: How to access a school printer

          /sbin/ifconfig did the trick, here it is:
          Code:
          williamsj2@R8RZW40:~> /sbin/ifconfig
          eth1   Link encap:Ethernet HWaddr 00:23:8B:D6:2D:4F 
               UP BROADCAST MULTICAST MTU:1500 Metric:1
               RX packets:0 errors:0 dropped:0 overruns:0 frame:0
               TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
               collisions:0 txqueuelen:1000 
               RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
               Interrupt:16 
          
          eth3   Link encap:Ethernet HWaddr 00:26:82:0F:10:02 
               inet addr:172.16.4.143 Bcast:172.16.255.255 Mask:255.255.0.0
               inet6 addr: fe80::226:82ff:fe0f:1002/64 Scope:Link
               UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
               RX packets:1177373 errors:0 dropped:0 overruns:0 frame:2625785
               TX packets:68280 errors:12 dropped:0 overruns:0 carrier:0
               collisions:0 txqueuelen:1000 
               RX bytes:137213940 (130.8 Mb) TX bytes:13289759 (12.6 Mb)
               Interrupt:18 
          
          lo    Link encap:Local Loopback 
               inet addr:127.0.0.1 Mask:255.0.0.0
               inet6 addr: ::1/128 Scope:Host
               UP LOOPBACK RUNNING MTU:16436 Metric:1
               RX packets:1322 errors:0 dropped:0 overruns:0 frame:0
               TX packets:1322 errors:0 dropped:0 overruns:0 carrier:0
               collisions:0 txqueuelen:0 
               RX bytes:38628 (37.7 Kb) TX bytes:38628 (37.7 Kb)
          @GreyGeek, I thought I mentioned that it was the openSUSE, and I'm 99% positive that it is the Enterprise version. I know that when I open up OpenOffice, it says in the upper right corner of it "SUSE Linux Enterprises". And when it boots up on the newer version of computers, the text files where replaced with a splash screen that says something along the lines "Opensuse Enterprise". I also know that it is the desktop version. Uhm, since the commands that I'm attempting aren't helping as much as I hoped, that is a problem.

          Anyways, perhaps I'm an idiot here, but 'Master Browser'? And 'replaced'? How does that work out exactly? I hope my questions[I'm practically spamming the board, which I hope isn't bad]aren't too frequent/annoying. I'm just wanting to know everything about Linux[Kubuntu in particular] :-X

          Here is echo $PATH
          Code:
          williamsj2@R8RZW40:~> echo $PATH
          /home/williamsj2/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3
          /bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/novell/ncl/bin:/opt/novell/ncl/bin
          [Note, this is all one line again, but I placed an 'enter' for easier reading purposes]

          I don't think I need to locate the file though, since it worked in the sbin.

          And is there nothing I can type in to find the network hierarchy? Such as erasing their software with Kubuntu, which is what I'm practically dying to do. But, by erasing it, I could use a kernel that makes sense to me at least, and you'd have MUCH easier time with helping me about it.

          Note: The reason I have to erase everything, rather than install alongside it is because they have 4 primary partitions on the computer already. One has the home folder, one has the booting/grub on it, and the last has /etc and most of the other folders. If I knew of a possible way to effectively move them over, and then delete the corresponding 'empty' linux partition, I would. But I currently know of none.
          Computer Lie #1: You&#39;ll never use all that disk space.<br />FATAL SYSTEM ERROR: Press F13 to continue...<br />The box said, &quot;Requires Windows 7 Home Edition or better&quot; ..so I installed Linux<br />My software never has bugs. It just develops random features.<br />Bad command. Bad, bad command! Sit! Stay! Staaay...

          Comment


            #20
            Re: How to access a school printer

            Assuming you have enough space on one of the other partitions to free up enough space - you could use a gparted livecd to shrink, move, expand your partitions until you have enough room to more the /etc files to the / partition. Then create new extended/logical partitions

            Please Read Me

            Comment


              #21
              Re: How to access a school printer

              Well, I've seen the partitions through both GParted and my USB OS, and I know that one partition is 100 gigs[this is the main one] and the other two are 20 gigs apiece. I believe only 10 or so gigs have been used by both the smaller partitions. Are you saying that I can simply up and move all the folders from one partition to the other, and not cause too many/if any problems? Because if so, that would be great. I'm not sure how to use GParted to take a snapshot, because when I tried to to post on my "future partitioning help" post, it was being..wierd, to say the least.

              And I'm hoping GreyGeek has something awesome, cause he seems totally brilliant concerning Linux...is he one of the people who helped create Kubuntu?
              Computer Lie #1: You&#39;ll never use all that disk space.<br />FATAL SYSTEM ERROR: Press F13 to continue...<br />The box said, &quot;Requires Windows 7 Home Edition or better&quot; ..so I installed Linux<br />My software never has bugs. It just develops random features.<br />Bad command. Bad, bad command! Sit! Stay! Staaay...

              Comment


                #22
                Re: How to access a school printer

                If you currently have enough free space on your / partition to hold all the /etc files, start with copying those files over. The most important thing when moving files is to preserve permissions and ownership. Since /etc is on a separate partition, there will be a /etc subdirectory on the / partition. This is your eventual target directory.

                You should be able to copy everything while running on the linux install. I don't think anything in /etc will be locked. Create a new target directory like /etcnew, navigate to /etc and do tar -cf – . | (cd <TARGETDIR> && tar -xpvf -)[/b] . Then edit fstab and comment out the mount line for the /etc partition. Then boot to a live cd and rename /etc to /etcold and /etcnew to /etc and reboot.

                If this has problems you can boot to a live cd, mount both partitions somewhere, navigate (cd) to the source directory (the mounted /etc partition) and then use this command: tar -cf – . | (cd <TARGETDIR> && tar -xpvf -) . Substitute the mounted location of your target directory for <TARGETDIR>. Don't forget when you mount the / partition, you will need to add /etc to the mount location to get the files into the correct directory.

                Once you've copied all the files over, boot to the linux install to verify it works. Once you're satisfied you may remove the /etc partition. Now on to the harder part:

                I have had success with gparted live doing this; start with partition 1 and resize it, then resize and move partition 2 all the way to the "left", and finally partition 3. Then create a new extended partition with the free space and then you logical partitions within it.

                Please Read Me

                Comment


                  #23
                  Re: How to access a school printer

                  Since I use the Kubuntu 10.10 LiveCD as my main 'live cd modify files and GRUB and anything else that needs to be modified' file, can I simply open up dolphin, have the computer mount them, then navigate my way through the partitions through /media of the LiveCD? Just wanting to make sure that works, or if I have to mount them to a specific place.

                  Do you think I should boot up a LiveCD real fast, and take some pictures of the paritions? So that you can see what is in them and stuff. Because a lot of it is seeming kind of sketch to me, and I don't want to crash my openSUSE. I hate it, but I like having access to the printers and 'J' drive[server drive].
                  Computer Lie #1: You&#39;ll never use all that disk space.<br />FATAL SYSTEM ERROR: Press F13 to continue...<br />The box said, &quot;Requires Windows 7 Home Edition or better&quot; ..so I installed Linux<br />My software never has bugs. It just develops random features.<br />Bad command. Bad, bad command! Sit! Stay! Staaay...

                  Comment


                    #24
                    Re: How to access a school printer

                    "Brilliant"?

                    I'm a five watt bulb. There are a LOT of 100 watt bulbs on this forum.

                    You can move any directories YOU create to any partition you can mount, BUT, be very careful moving directory you DIDN'T create. Doing that can destroy your system.

                    I noticed that your active nic card is labeled "eth3" (172.16.4.143). Eth1 is not used and eth2 is missing. The loopback is normal. I don't remember how SUSE labels nics but the usually sequence is eth0, eth1, eth2 .... What does the output of
                    route
                    show?
                    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                    – John F. Kennedy, February 26, 1962.

                    Comment


                      #25
                      Re: How to access a school printer

                      The IP listed was actually one of my teachers :-X but if I used the IP issued to me, it'd give the same output, just .22.175 as the last numbers. But 'route' just threw me a "command not found" error again

                      And I didn't create any of the directories on the computer partitions, other then subdirectories such as 'Documents' and 'Pictures'. Everything else was put on there by IT. And yeah, when the school OS is on it, it changes it from wlan0 to eth1. I haven't figured out why it does that exactly..

                      And well, your a 100 'bulb' compared to my dim .02 watts. Though, a 100 'bulb' would be nice to see here, if they are going to give me some of their time, haha
                      Computer Lie #1: You&#39;ll never use all that disk space.<br />FATAL SYSTEM ERROR: Press F13 to continue...<br />The box said, &quot;Requires Windows 7 Home Edition or better&quot; ..so I installed Linux<br />My software never has bugs. It just develops random features.<br />Bad command. Bad, bad command! Sit! Stay! Staaay...

                      Comment


                        #26
                        Re: How to access a school printer

                        Do
                        whereis route
                        to find the location of route. It should give /sbin/route and /sbin SHOULD be in your $PATH. That it is not suggests that SUSE is messed up. All of the system directories should be in the PATH, which in ALL the distros I've used, including SuSE but not SUSE. Here is mypath statement:
                        $ echo $PATH
                        /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
                        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                        – John F. Kennedy, February 26, 1962.

                        Comment


                          #27
                          Re: How to access a school printer

                          Well, here is the code for my two commands:
                          Code:
                          williamsj2@R8RZW40:~> whereis route
                          route: /sbin/route /usr/share/man/man8/route.8.gz
                          williamsj2@R8RZW40:~> echo $PATH
                          /home/williamsj2/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3
                          /bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/novell/ncl/bin:/opt/novell/ncl/bin
                          Once again, I put an enter in there for reading purposes.

                          Not sure if that helps, I navigated to /sbin and it still gave me a bad command error.
                          Computer Lie #1: You&#39;ll never use all that disk space.<br />FATAL SYSTEM ERROR: Press F13 to continue...<br />The box said, &quot;Requires Windows 7 Home Edition or better&quot; ..so I installed Linux<br />My software never has bugs. It just develops random features.<br />Bad command. Bad, bad command! Sit! Stay! Staaay...

                          Comment


                            #28
                            Re: How to access a school printer

                            they(your IT people) have system directories removed from your path.

                            so to use route you knead to include the full path to it .... /sbin/route ......like you did for ifconfig.
                            it will not execute for you even from in /sbin if you dont.

                            thay do this to keep you from system programs and hinder your ability to Chang things to much
                            I think

                            VINNY
                            i7 4core HT 8MB L3 2.9GHz
                            16GB RAM
                            Nvidia GTX 860M 4GB RAM 1152 cuda cores

                            Comment


                              #29
                              Re: How to access a school printer

                              thay do this to keep you from system programs and hinder your ability to Chang things to much
                              Yeah, I figured that was the case...but for everything done, there is always two ways to get around it. Thats my philosophy for 99% of my life, haha
                              Computer Lie #1: You&#39;ll never use all that disk space.<br />FATAL SYSTEM ERROR: Press F13 to continue...<br />The box said, &quot;Requires Windows 7 Home Edition or better&quot; ..so I installed Linux<br />My software never has bugs. It just develops random features.<br />Bad command. Bad, bad command! Sit! Stay! Staaay...

                              Comment


                                #30
                                Re: How to access a school printer

                                Originally posted by vinnywright
                                they(your IT people) have system directories removed from your path.

                                so to use route you knead to include the full path to it .... /sbin/route ......like you did for ifconfig.
                                it will not execute for you even from in /sbin if you dont.

                                thay do this to keep you from system programs and hinder your ability to Chang things to much
                                I think

                                VINNY
                                And I think that is the root of all of his difficulties in getting this working. We don't know what restrictions they have placed on his system.

                                Comment

                                Working...
                                X