LinuxQuestions.org
Visit Jeremy's Blog.
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 02-25-2007, 11:06 PM   #1
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Rep: Reputation: 16
Unhappy How to disable eth0 ?


My problem is that whenever i bootup my eth0 automatically acquires an address 192.168.1.2.Even when i use ifconfig eth0 down it again acquires the address and shows the same ip i.e 192.168.1.2 As a result i cant use pppoe i.e pppoe connects but can't ping any site and internet won't work.
What i want is that when i boot up i shd issue a command that disables eth0 i.e it shd not show any ip address when i use ifconfig eth0.So that after disabling it i can start ppoe and then internet starts.
Please guide me because i have been working for past 3 days just to have an internet connection working on pppoe and all i could figure out was that first i should disable eth0 and then issue pppoe-start and then i can use the internet.
Please help
 
Old 02-25-2007, 11:58 PM   #2
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
If you don't have any other NIC I think this will do :
#vi /etc/rc.d/rc.inet1

Here find the MAXNICS=6 line ... and make it MAXNICS=0

this should work. If you have other NICs , then you will have to edit rc.inet.conf

Read through the rc.inet1 scripts, very well documented by Pat!
 
Old 02-26-2007, 04:01 AM   #3
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
netconfig first
 
  


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
How disable eth0 in red hat 9.0? dgermann Linux - Networking 4 04-30-2006 06:14 PM
Disable dhcpcd for eth0 on boot thomasw92 Linux - Newbie 2 04-10-2006 01:49 AM
How to disable eth0 without removing the PCI card SCX Linux - Networking 4 09-01-2004 09:35 AM
Disable Interupt 16 locks up eth0 david.skinner Linux - Hardware 1 06-09-2004 02:29 AM
howto disable eth0 at boot time rydogg Linux - Newbie 2 06-16-2003 09:33 AM

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

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