LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Connecting to internet through LAN HELP PLZ (https://www.linuxquestions.org/questions/linux-networking-3/connecting-to-internet-through-lan-help-plz-96464/)

TheTruthHurts 09-24-2003 05:31 PM

Connecting to internet through LAN HELP PLZ
 
ok ive been using Mandrake 9.1 for a few days. I am trying to just be able to CONNECT TO THE INTERNET!!!

Anyways, I have a Asus A7N8x with Nvidia chipset with a built in ethernet card. I found out how to install the rpm for it, and Linux recognizes it and all. Now i just need to configure it I guess.

I ran the drakeconnect and used the wizard. Set it to auto IP because im going through a hub, and then a router that hands out ip's.

When the wizard was done... Nothing. No connection, nada.

So I used the expert mode and set the gateway to 192.168.0.1 which is the routers ip, and I left the get ip as auto for the dhcp. Is there anything I missed? Well i think thats what i did.

So I click connect, the window pops up, but just like before it sits there a while, trying to send. Sometimes It will recieve like a few bits, but I am not sure if the router actually sees it or not, or if Linux can see the router.

Any help would be great!!!

also, Someone said that I could like, connect through wane, but first of all, where is wane In mandrake, and how would I go about doing that. If you can solve the above problem, then just forget about this, but I still wouldn't mind knowing where wane is.

/bin/bash 09-24-2003 05:48 PM

Post the output from these commands:

cat /etc/sysconfig/network
cat /etc/sysconfig/network-scripts/ifcfg-eth0
ifconfig
route

TheTruthHurts 09-24-2003 05:54 PM

ok

im going to have to boot to linux then back to here so it may take me a couple of mins

TheTruthHurts 09-24-2003 06:23 PM

Networking=yes

DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
NEEDHOSTNAME=yes

[root@localhost sysconfig]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:6E:97:C6:79
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:54 errors:0 dropped:0 overruns:0 frame:0
TX packets:149 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:16971 (16.5 Kb) TX bytes:50958 (49.7 Kb)
Interrupt:11 Base address:0x1000

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:102 errors:0 dropped:0 overruns:0 frame:0
TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6430 (6.2 Kb) TX bytes:6430 (6.2 Kb)

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 * 255.0.0.0 U 0 0 0 lo


ok theres all the outputs

does that help any?

TheTruthHurts 09-24-2003 06:24 PM

Kernel IP routing table
Destination Gateway Genmask Flags .....Metric ......Ref ....Use Iface
127.0.0.0.......... *.... 255.0.0.0 .....U......... 0 ...........0 ..........0 lo

there thats a bit less confusing i think

/bin/bash 09-25-2003 04:53 AM

It looks like the router is not giving eth0 an IP address.

Try adding this to the /etc/sysconfig/network script and restart networking.
GATEWAY=192.168.0.1
GATEWAYDEV=eth0

You may need to change the IP and dev.


Joeboy 10-01-2003 08:49 AM

Greetings!

I have a similar problem and how would I go about adding the Gateway info?

I very new to linux and could use the help!

Joeboy 10-01-2003 09:32 AM

Looks like I answered my own question! Had to do a couple of things but got it working, I'm on my crash and burn box right now!! If anyone is interested let me know!


All times are GMT -5. The time now is 05:05 PM.