-
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!
-
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"
-
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!
-
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
-
Forum Rules

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99

Intel Core i7-10700K 3.80GHz 8 Core SRH72 16 Thread LGA 1200
$275.00

Dell OptiPlex 5090 SFF PC w/ i7-10700 2.9GHz CPU 2TB HDD 8GB DDR4 RAM Win 10 Pro
$209.95

Intel Core i7-11700T 1.4GHz Processor 8-Core Socket LGA1200 SRKNT
$120.85

Intel Core i7-6700 SR2L2 3.40GHz 8 MB 4-Core LGA1151 Socket CPU Processor
$27.99

Apple Macbook Pro 13" M1 8-Core 16GB 512GB - Good
$464.99

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 CPU Processor Brand New Unused
$395.95

AMD Ryzen Threadripper PRO 3945WX 12-Core 4.0GHz sWRX8 CPU NEW Tray Unlocked
$79.99

Dell OptiPlex 5090 SFF PC w/ i7-10700 2.9GHz CPU 2TB HDD 8GB DDR4 RAM Win 10 Pro
$209.95

Lenovo Thinkpad E15 Gen 2 8GB RAM 256GB SSD Intel Core [email protected] Laptop
$220.36