Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-19-2013, 05:06 PM   #46
Alien Bob
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,849

Rep: Reputation: Disabled

Had you read then this whole thread would not have been necessary.

1 members found this post helpful.
Old 02-20-2013, 01:13 PM   #47
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,268

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Originally Posted by stf92 View Post
Yes, I did that. I also reset the modem, the router and the machines several times: no use. I in A I do

ifconfig eth0

then all is fine. But when I reboot, I am again!
Don't forget to take the "ifconfig" out of your file in /etc/rc.d -- if you don't, it may come back to haunt you sooner or later...
Old 02-20-2013, 02:25 PM   #48
Registered: Apr 2010
Distribution: Slackware
Posts: 368

Rep: Reputation: 59
Just to complicate matters further, it is totally possible to continue to use dhcpcd (the DHCP Client Daemon) and assign static IP addresses. You just have to configure /etc/dhcpcd.conf accordingly. I have found that approach superior to /etc/rc.d/rc.inet1.conf on at least one occasion.
Old 02-23-2013, 05:35 PM   #49
Registered: Nov 2010
Posts: 227

Rep: Reputation: 61
Check router ip range


I know that this thread is marked as solved but I have the impression that some
concepts are not clear enough.

I assume you've already understood that the dynamic IP provided by your ISP is
the external IP. What you are configuring is your LAN.

Router web interfaces are a bit confusing. You should not disable dhcp in your
router. Just do not use it (client) in your machines. Your router will use
dhcp client to connect to your ISP and dhcp server to assign IPs to your LAN
machines. Perhaps it will let you pre define some "static leases" where you
associate the MAC address of each network interface with a static IP (mine let
me add the host name of each machine too).

Take in care that routers generally ask you to define a "range" of ips to
assign, so if that range is - and you put in rc.inet1.conf it will not work (probably what happened to

What you showed on your first post for rc.inet1.conf is OK (unless
is not in the router's pre defined range like I've explained above).

You can add to /etc/resolv.conf:

search local
to ask names to your router or:

if you want your machine uses google's. Should work in both cases.

You can add to /etc/hosts in both machines (I have a
linux embeded in my router so I ssh access it and edit /etc/hosts with the same

Code:	localhost	routername.local	routername	machine1.local		machine1	machine2.local		machine2

Your router configuration is what you should investigate first.



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
"domain-name" and "host-name" options in dhcpd.conf m4rtin Linux - Server 3 09-20-2012 09:21 AM
xorg.conf : Explanation of "Viewport" and "Virtual" uncle-c Linux - Newbie 1 01-24-2011 12:04 PM
Error for wireless request "Set Nickname" (8B1C) -- /etc/rc.d/rc.inet1.conf hellbillyJoker Linux - Networking 1 04-06-2010 08:24 PM
Problems configuring "xorg.conf" with "ATI FGLRX" BlueSpirit Slackware 3 09-16-2006 03:01 PM
error "Set Frequency" (8b04) : when restarting rc.inet1 tux31337 Linux - Wireless Networking 1 02-13-2006 04:47 PM

All times are GMT -5. The time now is 11:33 AM.

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