LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   can't connect internet via cable modem after activating an ethernet card (https://www.linuxquestions.org/questions/linux-networking-3/cant-connect-internet-via-cable-modem-after-activating-an-ethernet-card-111218/)

huseyin 11-01-2003 05:09 PM

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?

david_ross 11-01-2003 05:17 PM

It is probably changing your default route - see if it changes by running "route -n" before and after activating the network card.

anGeR 11-02-2003 05:57 AM

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 ?

david_ross 11-02-2003 06:25 AM

You can edit:
/etc/sysconfig/network

and set:
GATEWAYDEV=ethX

Where ethX is the device the default device.

linuxJaver 11-02-2003 07:23 AM

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 ?

david_ross 11-02-2003 07:33 AM

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.