LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-04-2003, 12:31 PM   #1
zokter
LQ Newbie
 
Registered: Jun 2003
Distribution: slackware91
Posts: 26

Rep: Reputation: 15
Help whith network manual configuration


My computer is a part of a local ethernet in which, the
computers access to the internet via a proxy server.
My problem is that the network is unrechable.
The network administrators give to each computer the adresses of :
ip,subnetmask,gateway,DNS.

I try to do:
1. Whith ifconfig to configure the eth0 and lo interfaces
(the Broadcast adress is confusing me,because i dont know its adress )
2. Edit the /etc/rc.d/rc.inet1 and put the right adresses.
(When i run this file the result is : network is unrechable)
3. Whith route to configure the kernel ip tables whith no success.
(under the gateway is a * and i believe this means that there is
no adress to gateway, but i can't change it.)
4. Run netconfig whith no results.

The only result is that i can see some shares in the local ethernet
(from my workgroup ?)but there is no ping response from gateway and
always the network is unrechable. (whith windows all works fine)
I thing that the problem is simple, but i cant find it. Maybe the
route command gives the solution.

Help me whith route command and tell me other (files, commands, tools)
that you now about network configuration ,or what is my mistake.
 
Old 11-04-2003, 01:59 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
You can edit your /etc/rc.d/rc.inet1 and insert the IP, netmask and gateway information in the section for your card (eth0 for example).

The DNS information belongs in /etc/resolv.conf in the format:

nameserver 1.2.3.4

Where 1.2.3.4 is replaced by the DNS IP address your network admin got you.


That should get you up and running.
 
Old 11-05-2003, 03:22 AM   #3
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
I find that netconfig (su root first) works fine, but you need to reboot the PC to make the settings active.
Otherwise your broadcast is derived from your IP address and netmask
eg
192.168.1.10 - IP
255.255.255.0 - mask, ie network is 192.168.1.0/24
-> 192.168.1.255 - broadcast
 
  


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
QMAIL manual configuration macie Linux - Software 2 06-27-2004 01:57 PM
Manual configuration of two nics Stuartb21 Slackware 2 02-28-2004 07:35 AM
SuSE Kinternet - manual configuration? iantic Linux - Distributions 5 10-07-2003 08:54 PM
Network configuration DHCP/manual pe2338 Linux - Networking 1 08-14-2003 06:21 AM
DHCP works / Trouble w/manual network configuration. 360 Linux - Networking 2 08-28-2001 05:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:56 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