[gobolinux-users] configuration internet access

Jonas Karlsson jonka750 at student.liu.se
Thu Jan 11 06:55:06 UTC 2007


2007/1/10, balazs gellert <gellba at gmail.com>:
> Hi,
> i've recently installed GoboLinux 013 onto my PC. My problem that I
> couldn't configure internet :(  I followed GoboWiki description about
> how to set NetworkOptions file. I suppose according to  my ifconfig I
> should have to be connected to the internet, but indeed I am not able
> to reach internet :(
> After typing ifconfig, the response:
> # ifconfig -a
> th0      Link encap:Ethernet  HWaddr 00:0D:85:B3:46:5F
>           BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:27257 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:1635836 (1.5 Mb)  TX bytes:6860 (6.6 Kb)
>           Interrupt:177 Base address:0xa000
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:128 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:11264 (11.0 Kb)  TX bytes:11264 (11.0 Kb)
>
> sit0      Link encap:UNSPEC  HWaddr
> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>           NOARP  MTU:1480  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>
> What can be the problem?
>
As Paul said, well not black on white but he inciniated it, you don't
have an IP. I guess you've missed an 'e' on that first card and it
should be 'eth0'.

First you should check to see that everything is correct in
/System/Settings/NetworkOptions. My file looks like this:

---%<-----------------------------------------
HostName=hermes

NetworkInterfacesOnBoot=(
   "lo"
   "eth0"
)

lo_IP=127.0.0.1
lo_Netmask=255.0.0.0

#eth0_BootProto=Static   # DHCP (requires DHCPCD package), Static
(default if empty)
#eth0_IP=192.168.20.4
#eth0_NetMask=255.255.255.0
#eth0_Broadcast=
eth0_BootProto=DHCP   # DHCP (requires DHCPCD package), Static
(default if empty)

Gateway=192.168.20.1
GatewayInterface=eth0
--->%------------------------------------------

Of course you can change 'eth0' to 'sit0' in the example above, if
'sit0' is your primary network interface.

You shold also make sure that you have the DHCPCD package installed,
if your network interface should get its IP from a DHCP server.

-- 
/Jonas


More information about the gobolinux-users mailing list