Networking Forums

Networking Forums > Computer Networking > Linux Networking > changing interfaces file

Reply
Thread Tools Display Modes

changing interfaces file

 
 
conrad
Guest
Posts: n/a

 
      07-12-2008, 12:05 AM
After changes have been made to the itnerface file, how should
you make them take effect?

I did ifconfig eth0 down;ifconfig eth0 up

but that did not work. However, rebooting works.
Surely I don't have to reboot everytime I make
changes to the interfaces file?

--
conrad
 
Reply With Quote
 
 
 
 
Jim Cochrane
Guest
Posts: n/a

 
      07-12-2008, 02:01 AM
On 2008-07-12, conrad <(E-Mail Removed)> wrote:
> After changes have been made to the itnerface file, how should
> you make them take effect?
>
> I did ifconfig eth0 down;ifconfig eth0 up
>
> but that did not work. However, rebooting works.
> Surely I don't have to reboot everytime I make
> changes to the interfaces file?
>
> --
> conrad


You could try restarting your network services. On redhat:

sudo /etc/init.d/network restart

--

 
Reply With Quote
 
Bill Marcum
Guest
Posts: n/a

 
      07-12-2008, 05:22 AM
On 2008-07-12, conrad <(E-Mail Removed)> wrote:
>
>
> After changes have been made to the itnerface file, how should
> you make them take effect?
>
> I did ifconfig eth0 down;ifconfig eth0 up
>
> but that did not work. However, rebooting works.
> Surely I don't have to reboot everytime I make
> changes to the interfaces file?
>

Try ifdown and ifup, or /etc/init.d/networking restart.

 
Reply With Quote
 
Klunk
Guest
Posts: n/a

 
      07-12-2008, 09:15 AM
On Sat, 12 Jul 2008 05:22:00 +0000, Bill Marcum passed an empty day by
writing:

> On 2008-07-12, conrad <(E-Mail Removed)> wrote:
>>
>>
>> After changes have been made to the itnerface file, how should you make
>> them take effect?
>>
>> I did ifconfig eth0 down;ifconfig eth0 up
>>
>> but that did not work. However, rebooting works. Surely I don't have to
>> reboot everytime I make changes to the interfaces file?
>>

> Try ifdown and ifup, or /etc/init.d/networking restart.


or even 'service network restart'
It depends on the distro in no small part.


--
begin oefixed_in_2005.exe
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anybody got a working wireless wpa interfaces file? Overt Linux Networking 2 01-31-2008 05:20 PM
Any Way to Stop File Owner from Changing Permissions? Will Windows Networking 2 01-21-2008 01:34 AM
Problem with interfaces configuration file tfeserver Linux Networking 1 11-04-2007 08:40 PM
Why is Linux changing my file perms? Geoff Linux Networking 5 01-28-2004 11:15 PM
Example needed of a Debian -interfaces file with wireless settings Scott Wireless Internet 0 09-12-2003 06:31 PM



1 2 3 4 5 6 7 8 9 10 11