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
  •  


TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597 picture

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597

$36.98



5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S... picture

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...

$9.64



Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch picture

Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch

$115.00



Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks picture

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks

$224.95



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99