Results 1 to 6 of 6

Thread: can't Ping in Root Console to update packages

  1. #1
    Member registered user
    Join Date
    Mar 2004
    Posts
    35

    can't Ping in Root Console to update packages

    http://www.knoppix.net/docs/index.ph...masteringHowto

    I was following the insturctions, I restarted and remount the drive to get rid of some errors. The dev null one that prevents you from chrooting. Anyways I mounted the drive again after restart and chrooted.

    I then mounted the proc part for internet
    mount -t proc /proc proc

    I tried piing google with ping google.com and god unknown host.

    I use cable internet with a linksys router.

    I don't know what to put into the resolv.conf file, it's the same as the one thats working to let me post here while I'm trying to figure this out.

  2. #2
    Member registered user
    Join Date
    Mar 2004
    Posts
    35
    Also, I can't remove stuff

    apt-get remove <wine>
    bash: systax error near unexpected token `newline'


    I'm new to bash, very very new.

  3. #3
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    13

    quit out of the root shell

    quit the root shell then open it again

  4. #4
    Junior Member registered user
    Join Date
    Oct 2003
    Location
    England
    Posts
    29
    did you add your DNS to the

    /etc/resolv.conf?

  5. #5
    Member registered user
    Join Date
    Mar 2004
    Posts
    35

    Re: quit out of the root shell

    Quote Originally Posted by pythonholumm
    quit the root shell then open it again
    If I do that I have to re-chroot, is that normal??

    Quote Originally Posted by sbkryan
    did you add your DNS to the

    /etc/resolv.conf?
    DNS?
    I don't know what that is.
    ALSO, I can't edit it anyways, it doesn't let me save, am I to open it inside the root shell or in Konquerer/kwrite?

  6. #6
    Junior Member registered user
    Join Date
    Oct 2003
    Location
    England
    Posts
    29
    if you mounted the new filesystem using

    mount -rw /dev/hda* /mnt/hda*

    the * being woteva partion your using - also the a may be b depending on how many hard disks you have

    once you have mounted the filesystem you are editing you need to chroot into it

    chroot /mnt/hda*/knx/source/KNOPPIX

    you then need to mount the proc

    mount -t proc /proc proc

    once you have done this you will need to add your Domain Name Server(DNS) to the /etc/resolv.conf

    If your computer is within a network then your Network Administrator will know the IP address for the DNS. If its a computer at home that is directly connected to the internet you will more than likely need to contact your ISP (Internet Service Provider) for your DNS IP Address

    If it a home computer network just use the IP Address of the computer which is connected to the internet

    to add it to the /etc/resolv.conf type:-

    vi /etc/resolv.conf
    then press insert
    type nameserver IP of DNS
    press ESC
    type :wq

    this will edit the file using a txt editor vi

    to check it is there use step 1 to access the file then you should see the nameserver you typed

    press ESC and type :q

    ~~~~TRY THIS FIRST~~~~

    to test to see if you have an internet connection at all while in the chroot enviroment

    ping 216.239.59.99

    that is an IP Address for www.google.com if you successfully recieve replies then the fault is defiently with your DNS address.

    hope it helps

    Ryan

Similar Threads

  1. the Knoppix special packages is too older,why not update it?
    By ecserver in forum Customising & Remastering
    Replies: 0
    Last Post: 05-21-2005, 01:25 PM
  2. Update packages in next Knoppix release!
    By KnightPusher in forum Ideas
    Replies: 1
    Last Post: 01-23-2004, 08:27 PM
  3. Replies: 11
    Last Post: 01-05-2004, 06:48 PM
  4. User can Ping but can't Dig - Root works fine - any help?
    By Cuddles in forum General Support
    Replies: 4
    Last Post: 12-25-2003, 03:27 PM
  5. Failing to update packages post hdd install
    By todsr1 in forum General Support
    Replies: 8
    Last Post: 11-02-2003, 10:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS picture

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS

$239.99



Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA picture

Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA

$350.48



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU picture

INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU

$11.00



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



DELL Precision 5820 Workstation Xeon W-2123 3.6ghz/NO RAM/NO SSD/P400 Vid picture

DELL Precision 5820 Workstation Xeon W-2123 3.6ghz/NO RAM/NO SSD/P400 Vid

$139.99



Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor picture

Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor

$249.99



Lenovo ThinkServer TS460 Part Number: 70TS-S01U00 picture

Lenovo ThinkServer TS460 Part Number: 70TS-S01U00

$279.00



HP Z800 Workstation x2 Xeon E5630 16GB RAM 240GB SSD Windows 10 Pro picture

HP Z800 Workstation x2 Xeon E5630 16GB RAM 240GB SSD Windows 10 Pro

$229.99