Originally posted by wbheinkel
Thank for the reply.
When I set my NIC to static and when I boot the eth0 says it is ok. But with it set to static my internet browser can not find the web pages. If I set the NIC to dynamic (DHCP) the browser works fine but the eth0 fails on boot as I said at the begining. I am at a loss why does eth0 not find a IP in DHCP. I hope you can tell me.
Static IP is when you use the same IP everytime you boot.
Im guessing you are trying to use the modem for viewing webpages, now you told us you are connected via a HUB.
There is 2 options here as i see it, for us to be able to help us answer theese questions.
a) Do you get your IP via DHCP from your ISP?
b) Do you connect to your ISP with the Windows box or your Linux box?
Since your ifconfig dont show any PPP setup, im guessing you use the windows machine for the internet connection.
This means, you will have to go through the windows box. Which means you want a static IP adress. IE. 192.168.1.1 and then you need to setup the windowbox to have a static ip on the same network, 192.168.1.2.
this means the windows and linux machine will be able to communicate. However i suggest you do it the other way around.
Your LAN (local network) needs to have static IP's within same network (192.168.1.x).
Start by setting up a PPP (modem) connection with your Linux machine. When you got that working move on to your local network.
a) Setup windows box to have your linuxmachine as default gateway.
b) Set windows IP to 192.168.1.2
c) Set your Linux box IP static to 192.168.1.1
d) Enable IP forwarding on Linux machine.
there is plenty of documentation on each of the steps, but this should get you going in the correct direction.