Results 1 to 4 of 4

Thread: apt-get - - - can't get

  1. #1
    Junior Member
    Join Date
    Jan 2006
    Posts
    3

    apt-get - - - can't get

    Hi...

    Actually, the problem isn't with apt-get at all...sort of.

    Truth to tell, after I chroot into the uncompressed file system in a root shell, I'm unable to get out to the Internet to run apt-get.

    I know the Internet connection is working. I'm using Linspire (yeh, I know it's kinda weak on security - but that's why I'm only using it for this!) to setup a remaster. I'm able to go out to the Internet on Linspire, but not within Knoppix. I've changed the /etc/resolv.conf file to point towards the proper DNS settings, with no luck.

    Is there another file I need to edit? Perhaps the hosts file? Anyone else have this problem? What are your suggestions?

    Thanks for any help you'd provide!

  2. #2
    Member registered user
    Join Date
    Mar 2005
    Posts
    87
    In order to utilise your hardware from the chroot environment, you'll need to mount proc.

    I use (there are derivatives):
    Code:
    mount -t proc /proc /proc
    If you have proxy settings to get out you'll also need to export those for apt-get to work, if my memory serves me correct it is:
    Code:
    export http_proxy="http://username:password@proxyip:proxyport"

  3. #3
    Junior Member
    Join Date
    Jan 2006
    Posts
    3
    I don't actually need proxy settings. I am bypassing a firewall.

    I've used the mount -t proc /proc proc command. I get no errors running the command, but I'm still unable to ping any Internet sites. I am able to ping IP addresses within the network I'm working in, but I'm unable to ping something like google.com. This is a wide open high-speed connection with a LAN. Obviously, there is something I'm missing , but I don't know what!

    I edited the hosts file, changing it to match the hosts file within Linspire. However, I didn't delete all of the other lines in the file. All network settings are DHCP, which I assume Knoppix would use as default?

    I'll try booting up with the Knoppix cd, and see what settings it gets upon connecting to the network.

    Any other suggestions would be much appreciated!

  4. #4
    Junior Member
    Join Date
    Feb 2006
    Posts
    3
    can you post your /etc/resolv.conf (chrooted )

Posting Permissions

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


Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS picture

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS

$127.54



Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor   picture

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor

$50.00



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 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-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



Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU picture

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU

$7.95



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 T7820 2x Xeon Gold 6130 2.10GHz 950W No RAM GPU HDD 4x SATA picture

Dell Precision T7820 2x Xeon Gold 6130 2.10GHz 950W No RAM GPU HDD 4x SATA

$374.48



Dell Precision T7820 Dual Xeon 4214R 48GB RAM 512GB + 1TB Quadro P400 Win 11 picture

Dell Precision T7820 Dual Xeon 4214R 48GB RAM 512GB + 1TB Quadro P400 Win 11

$699.00



Dell Precision T1700 Workstation Intel Xeon 16G Ram 256GG SSD Nvidia 600  Win 10 picture

Dell Precision T1700 Workstation Intel Xeon 16G Ram 256GG SSD Nvidia 600 Win 10

$109.99