can't connect internet via cable modem after activating an ethernet card
I am using RH9 and not experienced in text mode commands.
What i do is to connect a WEBSTAR cable modem with USB to my pc then i use internet configuration tool. (select ethernet, allow automatic conf.) Internet connectiżon works fine after this operation but when i install an ethernet card and activate it from the same menu, internet freezes. What is wrong here? |
It is probably changing your default route - see if it changes by running "route -n" before and after activating the network card.
|
Same problem for me. And when I execute route -n I see that the gateway is changed to default.
What should I do so the gateway remains unchanged after activating eth0 ? |
You can edit:
/etc/sysconfig/network and set: GATEWAYDEV=ethX Where ethX is the device the default device. |
Hi ppl,
Apropo routing, I've question about it: I've 2 nics, nic1 connected to cable modem, nic2 connected to a window me box. From the window me Box I can ping to the linux box visa versa. But I can not browse the interner from within winMe box. Q1: Wut should I put as gateway in winMe the IP of the nic2 or nic1 ? Q2: Howto route in window me ? |
1) nic2
2) Don't worry about routing - you'll just need to set the gateway You'll also need to setup ip forwarding and ip masquerading to share your connection. If you need help on this please start a new thread to let this one continue on topic for huseyin. |
All times are GMT -5. The time now is 04:38 AM. |