LinuxQuestions.org
Register a domain and help support LQ
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 06-02-2010, 02:01 PM   #1
Kalevi Hautaniemi
LQ Newbie
 
Registered: May 2010
Posts: 3

Rep: Reputation: 0
Slackware 13.1 trouble with routing


I have just installed Slackware 13.1 into another computer. First thing to murmur is that the Net does not work. Ifconfig does its job beautifully but trying 'route add default gw aa.bb.cc.dd eth0' produces error "SIOCADDRT: No such process". Is there anything I can do to put it work?
 
Old 06-02-2010, 02:39 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Welcome to LQ!

Your network device is recognized and correct driver with firmware? What does 'ifconfig -a' show? You ran netconfig? What does your '/etc/rc.d/rc.inet1.conf' show if your network drivers are correct?

Just a few useful links;

SlackwareŽ Essentials
SlackwareŽ Basics
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Newbie Admin Guide
LinuxSelfHelp
Getting Started with Linux

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 06-03-2010, 03:09 AM   #3
Kalevi Hautaniemi
LQ Newbie
 
Registered: May 2010
Posts: 3

Original Poster
Rep: Reputation: 0
[QUOTE=onebuck;3990326]Hi,

Welcome to LQ!

> Your network device is recognized and correct driver with firmware?
> What does 'ifconfig -a' show? You ran netconfig? What does your
> '/etc/rc.d/rc.inet1.conf' show if your network drivers are correct?

As I wrote at the beginning, ifconfig does its job just as it should. No errors whatsoever. Asa result routing table contains rows for networks 192.168.1.0 and 127.0.0.0. But when /etc/rc.d/rc.inet1 tries to do its job (setting default route) we get an error "SIOCADDRT:No such process". I have no faintest idea what process is missing.
 
Old 06-03-2010, 07:32 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Quote:
Originally Posted by Kalevi Hautaniemi View Post
Quote:
Originally Posted by onebuck View Post
Hi,

Welcome to LQ!

> Your network device is recognized and correct driver with firmware?
> What does 'ifconfig -a' show? You ran netconfig? What does your
> '/etc/rc.d/rc.inet1.conf' show if your network drivers are correct?

As I wrote at the beginning, ifconfig does its job just as it should. No errors whatsoever. Asa result routing table contains rows for networks 192.168.1.0 and 127.0.0.0. But when /etc/rc.d/rc.inet1 tries to do its job (setting default route) we get an error "SIOCADDRT:No such process". I have no faintest idea what process is missing.
Post the output requested to allow us to aid you. Post your '/etc/rc.d/rc.inet1.conf', 'ifconfig -a' & the 'route -n'. Post network hardware information via the 'lspci -vv' portion. If the correct driver & firmware are used then the information may aid us to the solutions for the problem.

'How to Ask Questions the Smart Way' would be one link you should look at to help us to help you in the future.



Last edited by onebuck; 06-03-2010 at 07:33 AM.
 
Old 06-03-2010, 08:48 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by Kalevi Hautaniemi View Post
"SIOCADDRT:No such process".
This error is generated if the gateway is not in the same IP address range as the NIC is configured to, for example if the NIC has 192.168.1.x and the gateway is 192.168.0.x, this assuming the conventional 255.255.255.0 netmask.
 
Old 06-04-2010, 02:47 PM   #6
Kalevi Hautaniemi
LQ Newbie
 
Registered: May 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you all.


I must have had something wrong with installation. I cleaned the disc, installed Slack again and it works like charm. So there is nothing to ask for anymore. Thank you all trying to guide me anyway.

Now, if I only find a way to put virtual consoles to 80x25 mode instead of 160x64 offered by Slackware 13.1.

Kallu
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
slackware routing project Fluzz Linux - Networking 3 10-06-2004 10:40 PM
Routing problem with Slackware Doktor Prokt Linux - Newbie 1 09-15-2004 11:41 AM
broadband routing with slackware 10.0 dublinclontarf Slackware 2 07-01-2004 11:51 AM
Trouble re: routing table & cable modem sharing jroger Linux - Networking 4 07-15-2001 06:20 PM


All times are GMT -5. The time now is 12: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration