PDA

View Full Version : apt-get update problem...



AP
04-06-2004, 10:06 AM
Ok, so I chroot into /mnt/hda1/knx/source just fine.

I can ping the ip for google, but can't ping google.com.

I'm behind a wireless hub and am not sure what to put in. It was my understanding that hubs don't have ip's?

So, how can I figure out what goes into resolv.conf and how can I put it all together?

listman
04-06-2004, 08:21 PM
you need to edit /etc/resolv.conf
add nameserver 192.168.1.1
replace 192.168.1.1 with your dns server ip address.
check with your isp to get their dns ip address or check out your network settings before you chroot. I take it you can ping google.com before you chroot?

AP
04-07-2004, 12:40 AM
yea, i can definitely ping google before i chroot, but i figured then if i just copied resolv.conf it would work...right? if not, where do i find the dns and such from my hub (It's a family network so finding out won't be a problem)

also, what if i told you i think i'm using dhcp :lol:

listman
04-07-2004, 02:47 AM
should work, if it doesn't do an nslookup google.com
to see which nameserver answers? There has to be a better way but I can't think of it and I'm not that familiar with debian.

AP
04-07-2004, 05:50 AM
it worked this time, problem solved, thanks 8) :D