LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-13-2004, 04:39 PM   #1
Jamesnslater
LQ Newbie
 
Registered: Jan 2004
Location: Loving, TX
Distribution: Mandrake 10.0, Slackware 9.1
Posts: 10

Rep: Reputation: 0
Angry 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
 
Old 01-13-2004, 04:51 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Change your hostname and domain name using the:

hostname command

man hostname for more details.
 
Old 01-13-2004, 05:11 PM   #3
Jamesnslater
LQ Newbie
 
Registered: Jan 2004
Location: Loving, TX
Distribution: Mandrake 10.0, Slackware 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
ok thanks but will that tell me what my computer logs on as?
 
Old 01-13-2004, 08:10 PM   #4
dubman
Member
 
Registered: Jan 2003
Distribution: Redhat 9, Fedora Core 1, Suse 8
Posts: 188

Rep: Reputation: 30
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.
 
Old 01-13-2004, 08:22 PM   #5
Jamesnslater
LQ Newbie
 
Registered: Jan 2004
Location: Loving, TX
Distribution: Mandrake 10.0, Slackware 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
Oh thanks man
 
Old 01-15-2004, 11:28 AM   #6
Jamesnslater
LQ Newbie
 
Registered: Jan 2004
Location: Loving, TX
Distribution: Mandrake 10.0, Slackware 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
Old 01-15-2004, 11:43 AM   #7
Cyclo
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 47

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
typical problem with internet connection masand Linux - Software 1 06-05-2005 08:22 AM
typical newbie questions.... trueter Linux - Newbie 1 09-20-2004 03:55 AM
Typical FTP problem!! chamanrana Linux - Networking 1 08-12-2004 02:40 PM
Typical Newbie pro-ftp question mrsolo Linux - General 4 01-28-2003 03:08 PM
Typical newbie questions newbietolinux Linux - Newbie 19 12-05-2001 06:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration