LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   internet connection (https://www.linuxquestions.org/questions/linux-networking-3/internet-connection-328052/)

redduck666 05-28-2005 03:57 PM

internet connection
 
my friend can't connect to internet using gentoo. his hardware is just fine as gentoo live cd and knoppix can get him on internet. he has two nic's boths supported by kernel one as module (which is loaded) and the other one built into kernel. the /etc/conf.d/net should be just fine as it is something like iface_eth1="*his ip* broadcase *his broadcast ip* netmask 255.255.255.0" the second line is something like gateway="eth1/*his gateway*". there are two more lines in that file both suggested by gentoo home router guide. he uses iptables again the rules were suggested by gentoo home router guide (wwhich worked just fine on my pc).

anyone with the idea how the package that allows you to use ifdown and ifup thingy is called?

anyone with the idea what might be wrong?

ah i almost forgot i also tried using dhcp to get him connected to internet, needless to say that without luck.

btw my friend is on gentoo

comprookie2000 05-29-2005 09:27 PM

If he is using a default gateway make sure the gateway is in /etc/resolv.conf like this;
Code:

nameserver 192.168.1.254
Thats my default gateway

redduck666 05-29-2005 10:58 PM

nope, his getaway is the same as his ip only that it has 1 at the end instead of 141.

i already fixed the trouble, i forgot to bring the network up . i can manually start it using /etc/init.d/net.eth1 or do rc-update add net.eth1 default.

thanks for the info though


All times are GMT -5. The time now is 11:17 AM.