LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Probably a typical newbie problem (http://www.linuxquestions.org/questions/linux-networking-3/probably-a-typical-newbie-problem-134480/)

Jamesnslater 01-13-2004 04:39 PM

Probably a typical newbie problem
 
Ok I have a slight problem with connecting to the internet through my schools network the require that each computer has a computer name and according to the network administrator when I boot into Mandrake Linux 9.2 my computer dosn't have a name if it helps it requires a tcp/ip protocol and I just learned the use of the command ifconfig and havn't had a chance to see if my network card works properly

trickykid 01-13-2004 04:51 PM

Change your hostname and domain name using the:

hostname command

man hostname for more details.

Jamesnslater 01-13-2004 05:11 PM

ok thanks but will that tell me what my computer logs on as?

dubman 01-13-2004 08:10 PM

tcp/ip has nothing to do with hostnames. you need to set up your interfaces correctly. edit your /etc/sysconfig/network-scripts/ifcfg-ethx and make your file read

DEVICE=etho ---or whatever device ifconfig shows
BOOTPROTO=dhcp --if you are dhcp, if your are static,enter static
IPADDR=x.x.x.x --if you are static
NETMASK=255.255.x.x - if you are static
ONBOOT=yes

now you can use the commands ifup and ifdown to bring your interface up and down.

Jamesnslater 01-13-2004 08:22 PM

Oh thanks man

Jamesnslater 01-15-2004 11:28 AM

big help
 
Thanks you guys that was a big help I also found that Mandrake 9.2 make a file in /etc/netprofiles/list that lists all the config files used by a particular user profile I'm not sure if any other distro does that

Cyclo 01-15-2004 11:43 AM

If the network is mainly of windows computers, you will probably need to run nmbd (part of the samba suite)


All times are GMT -5. The time now is 09:42 AM.