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
  •  


Crucial MX500 500GB 2.5

Crucial MX500 500GB 2.5" SATA III Internal SSD CT500MX500SSD1

$56.99



SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE picture

SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE

$214.99



Samsung 860 EVO 250GB SSD MZ-76E250 2.5

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive

$39.99



Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot picture

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot

$549.00



SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps picture

SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps

$37.99



Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD picture

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD

$129.99



Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health picture

Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health

$24.00



2TB Internal SSD M.2 2280 M.2 SATA III Black Model/MPN SSD2TBM2 picture

2TB Internal SSD M.2 2280 M.2 SATA III Black Model/MPN SSD2TBM2

$125.00



HAJAAN 1TB 2.5

HAJAAN 1TB 2.5" SATA III Internal SSD SED Black for Laptop/PC

$60.00



KIOXIA KBG6AZNV512G 512GB M.2 NVMe SSD — TESTED & READY TO USE picture

KIOXIA KBG6AZNV512G 512GB M.2 NVMe SSD — TESTED & READY TO USE

$58.99