Results 1 to 3 of 3
Hi everyone,
I am a linux analfabet and I am trying to learn my first stuff. However, I cannot access the internet from my linux distro and that makes my ...
- 01-05-2005 #1Just Joined!
- Join Date
- Dec 2004
- Posts
- 3
Mandrake 10.1: problems connecting to a LAN
Hi everyone,
I am a linux analfabet and I am trying to learn my first stuff. However, I cannot access the internet from my linux distro and that makes my learning extremely slow and painful. Any help to get me on the internet with linux would be greatly appreciated. Here goes the description of the problem:
Linux Distro: Mandrakelinux 10.1
I am trying to connect to the LAN of the office and get internet access. The LAN has a 3com officeconnect gateway. If I configure the network with a static IP address I can get a connection with the 3com gateway. But I cannot get any further so I have no internet access. My tech guy has told me that I should be using the DHCP protocol. However, when I use it, I cannot even connect with the gateway.
My configuration settings when running DHCP are as follows:
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=00:00:39:42:52:9b
METRIC=10
MII_NOT_SUPPORTED=no
ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
/etc/sysconfig/network
HOSTNAME=Blas
NETWORKING=yes
GATEWAY=192.168.0.254
ifconfig
eth0 Link encap:Ethernet HWaddr 00:00:39:42:52:9B
inet6 addr: fe80::200:39ff:fe42:529b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:99 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11757 (11.4 Kb) TX bytes:3318 (3.2 Kb)
Interrupt:11 Base address:0x9000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:262 errors:0 dropped:0 overruns:0 frame:0
TX packets:262 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20082 (19.6 Kb) TX bytes:20082 (19.6 Kb)
Any ideas about what I can do or look for to be able to access the internet?
Thanks a ton,
Juan
- 01-05-2005 #2or if that doesn't work:Code:
dhclient eth0
Code:dhcpcd eth0
- 01-06-2005 #3Just Joined!
- Join Date
- Dec 2004
- Posts
- 3
Thank you!!!
I still have to learn what I did but it worked. Thank you very much lakerdonald for your good advice.
Regards,
Juan
(broadcasting from linux now)


Reply With Quote