LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-28-2003, 08:27 AM   #1
topche
LQ Newbie
 
Registered: Sep 2002
Distribution: SuSE
Posts: 23

Rep: Reputation: 15
Unhappy slack 9.1 rc.inet1.conf ?


In 9.0 or less in rc.inet1 i configure alias interfaces :
ifconfig eth0 1.2.3.4 netmask 255.255.255.0
ifconfig eth0:0 1.2.3.5 netmask 255.255.255.0

in 9.1 have rc.inet1.conf:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

i try to config:
# Config information for eth0:0
IPADDR[0:0]=""
NETMASK[0:0]=""

but not work

how can i config alias interfaces ?
 
Old 12-28-2003, 09:11 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Re: slack 9.1 rc.inet1.conf ?

Quote:
Originally posted by topche
In 9.0 or less in rc.inet1 i configure alias interfaces :
ifconfig eth0 1.2.3.4 netmask 255.255.255.0
ifconfig eth0:0 1.2.3.5 netmask 255.255.255.0

in 9.1 have rc.inet1.conf:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

i try to config:
# Config information for eth0:0
IPADDR[0:0]=""
NETMASK[0:0]=""

but not work

how can i config alias interfaces ?
Its probably better to config alias's for your NIC or other devices in rc.modules, not in the rc.inet1 files.
 
Old 12-28-2003, 10:16 AM   #3
topche
LQ Newbie
 
Registered: Sep 2002
Distribution: SuSE
Posts: 23

Original Poster
Rep: Reputation: 15
rc.modules ?!?!!??! i am confused !!!
rc.modules is for loading on modules, not for configure on devices !
I can start aliases with old style, and config directly in rc.inet1 (ifconfig eth0:0 1.2.3.5 netmask 255.255.255.0), but i want use new way with rc.inet1.conf !
 
Old 12-28-2003, 10:24 AM   #4
topche
LQ Newbie
 
Registered: Sep 2002
Distribution: SuSE
Posts: 23

Original Poster
Rep: Reputation: 15
answer is :
ETH0_ALIAS[0]=""
ETH0_ALIAS[1]=""

Use the Google Luck !
 
Old 12-28-2003, 10:35 AM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Quote:
Originally posted by topche
rc.modules ?!?!!??! i am confused !!!
rc.modules is for loading on modules, not for configure on devices !
I can start aliases with old style, and config directly in rc.inet1 (ifconfig eth0:0 1.2.3.5 netmask 255.255.255.0), but i want use new way with rc.inet1.conf !
Yes, you can configure aliases for your ethernets in rc.modules, it is possible and has been done.

Most likely it doesn't work in rc.inet1.conf is because rc.inet1 just reads from that file. So if you were to put it in there, most likely it has to be referenced I would think in the rc.inet1 file anyways.

Regards.
 
  


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
Set MAC/HW Address in /etc/rc.d/rc.inet1.conf? TotalDefiance Slackware 6 09-29-2005 07:32 AM
rc.inet1 and rc.inet1.conf edafe Slackware 0 02-16-2005 09:51 AM
Adding Slack 10.0 to Grub.conf?? snakeo2 Slackware 1 09-16-2004 03:23 PM
is modules.conf different in slack? robhargreaves Slackware 2 01-30-2004 12:36 PM
lilo.conf for Mandrake and Slack Andrew Benton Slackware 4 11-28-2003 03:51 PM


All times are GMT -5. The time now is 01:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration