[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Please help with Networking



> Alan thanks for advice but i'm a linux/unix newbie
> you lost me after the network card
> 1. make sure that your network card is supported--yes
> >2. make sure kernel has support enabled (compiled in or module)--how to
> check??

	It will only have kernel if you recompiled your kernel.  If it is
module, check running modconf and looking in the "net" section.


> >3. setup ip & host in /etc/hosts-how to set up??

	Add a line:

ip-address	hostname

	in the /etc/hosts file.


> >4. setup dns in /etc/resolv.conf--how to set up?

	Add a line here also.  For the format, do:

man resolv.conf


> >5. reboot - check that route is not setup for you--how to check??

	Do not know also.  Anyone?


> >5a. setup route, like (on debian, it's etc/init.d/network), find the file
> by grepping on "ifconfig lo"--grepping??
> >
> > ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
> > route add -net 192.168.0.0 netmask 255.255.255.0 eth0

	"to grep" means getting the output of a command into the command
"grep", which will give only the lines containing the specified string.

	Like:

ifconfig lo | grep "string-to-look-for"


	You can always do a:

man command-name

	to find about the "command-name" use and sintax.  If you need only
remembering something you already knew, you can use:

command-name -h

	Which will give you a command summary.


Leandro Guimaraens Faria Corcete Dutra
Amdocs Brasil Ltda


Reply to: