internet

George Toft plug-discuss@lists.plug.phoenix.az.us
Fri, 31 May 2002 23:40:53 -0400


> Poorboyphx wrote:
> 
> ok here goes!!  I have linux 7.2 redhat.  I need to connect to the internet!!
> I have a cable modem with a soho ethernet adapter to the computer.  I'm with
> cox@home and i need helphooking up to the internet.  I have the ip addresses
> and such but dont know where to configure this system to access the internet.
> ipaddress 68.2.173.145
> subnet mask  255.255.255.0
> default gateway 68.2.173.1
> dhcp server 172.19.73.16
> dns servers  68.2.16.30 and 68.1.208.30
> 
> how do i enter this information so that i may access the internet with a cable
> modem through a usb ethernet connection (soho)   this is really all the info
> that i know i would appreciate anyone who might help.  You can even call me at
> 480-988-2106!  thanks danny poorman!

OMFG!!

Can someone on the list help with this?  

This page gives some pointers:
http://www.linux-usb.org/USB-guide/x332.html

This document has lots of info:
http://www.linux-usb.org/USB-guide/
	USB-guide.ps

Another page I came across says you have to have usb-ohci, usbcore and CDCEther
modules loaded (use lsmod to see).


If you have the USB modem working, the files you seek are in:
	/etc/sysconfig/network-scripts/
I have no idea what the name is, but it will start with ifcfg- and have your
device name in it.  For example, ifcfg-eth0 (for ethernet) would contain:
	DEVICE=eth1
	ONBOOT=yes
	BOOTPROTO=static
	IPADDR=10.0.1.1
	NETMASK=255.255.255.0
	GATEWAY=10.0.0.1
IF you have a static IP (put your info above).  

If you use DHCP (most likely?), then it will look like this:
	DEVICE=eth0
	ONBOOT=yes
	BOOTPROTO=dhcp

Good Luck!

George