LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2004, 03:28 PM   #1
ThirtySixBelow
Member
 
Registered: Sep 2004
Posts: 48

Rep: Reputation: 15
LAN settings for Mandrake 10


Just installed mandrake 10 and what seems to be something normal, my internet didn't work. I am on a college LAN and was wondering what would be some simple steps to take to getting connected. I know some of you will say I didn't use the search function and this is a common question, but I did and couldn't find any solid answers to my problem. I have two DNS numbers, but no host name, not sure if i need that. I also enabled the firewall and let it pass all of the options on the install. (checked all of the check boxes except the first one) Any suggestions of where to start.... thanks.
 
Old 09-10-2004, 03:38 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Do you have a static IP or use DHCP? Mandrake tries DHCP by default, but you have DNS numbers so it may mean you have a static IP. In such case run Mandrake Control Center. Inside there's a network configuration program.
 
Old 09-10-2004, 03:41 PM   #3
ThirtySixBelow
Member
 
Registered: Sep 2004
Posts: 48

Original Poster
Rep: Reputation: 15
I have a static IP, how would i go about reconfiguring it from the default DHCP.
 
Old 09-10-2004, 04:00 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
There's undoubtedly some pretty GUI way of doing it, but the command line way is:

ifconfig eth0 <IP address> netmask <netmask>

and then, if necessary

route add default gw <your default gateway>

Add these commands to your rc.local file or modify your network config scripts (probably in /etc/sysconfig/network, but it varies by distro and I'm not familiar with Mandrake).

Add your DNS servers to /etc/resolv.conf (the format is one nameserver IP per line prefixed by "nameserver" e.g. "nameserver 1.2.3.4"). You should then be set.
 
Old 09-10-2004, 04:06 PM   #5
ThirtySixBelow
Member
 
Registered: Sep 2004
Posts: 48

Original Poster
Rep: Reputation: 15
ok not only am I a newb too linux, but also to networking so you will have to help me out here man.

where do i find my netmask number
what is my default gateway, where do i find that

how do you learn about all of these command lines...
anyway, thanks for trying to help me.
 
Old 09-10-2004, 04:17 PM   #6
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
your netmask is most likely 255.255.255.0

go to /etc/resolv.conf and use wotever editor mandrake has and add your dns servers
eg cd /etc
gedit resolv.conf
nameserver xxx.xxx.xxx.xxx (dns 1)
nameserver xxx.xxx.xxx.xxx (dns 2)

(leave in the instance about search local domain)

your gateway is the ip address of the server u r connecting ur machine to
 
Old 09-10-2004, 04:18 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Netmask is not required. It'll probably work without it. It's harder with the default gateway...You should have it in the settings, with your IP address, DNS servers and so on. If you can't find it, ask admin or someone who may know.

In my version of Mandrake (9.2) you set up networking graphicaly using the tool 'drakconnect' (MDK Control Center->Internet and networking->DrakConnect). It may be changed a bit in ver 10, through.
 
Old 09-10-2004, 08:12 PM   #8
ThirtySixBelow
Member
 
Registered: Sep 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Ok, i fixed it...I had the connection thing in the firewall set to +ppp rather than eth0 which was my network card for the lan. Everything else was already preconfigured like you guys said, thanks for the help.
 
  


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
Mandrake 10.0 Gnome/KDE Taskbar icon settings...are there settings? LiquidRezin Linux - Newbie 2 03-22-2004 09:27 AM
Cannot configure lan / internet settings pbartels Linux - Networking 3 08-11-2003 06:02 AM
wlan.conf? where to put w-lan pci settings mi6 Slackware 2 06-03-2003 06:23 PM
Lan Settings Vinsar Linux - Networking 6 04-25-2003 12:16 PM
mandrake 9 and 4-speaker settings ronss Linux - Hardware 0 01-14-2003 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:53 PM.

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