Networking Forums

Networking Forums > Computer Networking > Linux Networking > permanent ifconfig settings

Reply
Thread Tools Display Modes

permanent ifconfig settings

 
 
Markus Mayer
Guest
Posts: n/a

 
      03-07-2008, 09:36 AM
Hi folks.

Just a short question: How do I make ifconfig settings permanent? I
disabled the multicast of some of my interfaces but after a restart of
the network everything seems like it was before.

I'm new to linux and don't understand it's mechanisms yet. (Oh, right,
I'm using Ubuntu 7.10 if that matters)

Thanks in advance,
Markus
 
Reply With Quote
 
 
 
 
Nicolas BOUTHORS
Guest
Posts: n/a

 
      03-07-2008, 09:53 AM
Markus Mayer a écrit :
> Just a short question: How do I make ifconfig settings permanent? I
> disabled the multicast of some of my interfaces but after a restart of
> the network everything seems like it was before.
>
> I'm new to linux and don't understand it's mechanisms yet. (Oh, right,
> I'm using Ubuntu 7.10 if that matters)


Use the /etc/network/interfaces file. There is a manpage associated (man
5 interfaces).

You could add a line in the paragraph for your interface looking like
this :
post-up ifconfig eth0 -allmulti

Adapt with the command you used.

Cheers,

Nicolas


--
Nicolas Bouthors -=- Tel : 06 20 71 62 34 -=- Fax : 01 46 87 21 99
NBi SARL -=- http://nbi.fr -=- (E-Mail Removed)
 
Reply With Quote
 
Balwinder S Dheeman
Guest
Posts: n/a

 
      03-07-2008, 09:58 AM
On 03/07/2008 04:06 PM, Markus Mayer wrote:
> Hi folks.
>
> Just a short question: How do I make ifconfig settings permanent? I
> disabled the multicast of some of my interfaces but after a restart of
> the network everything seems like it was before.
>
> I'm new to linux and don't understand it's mechanisms yet. (Oh, right,
> I'm using Ubuntu 7.10 if that matters)


Oh, well the info about your current distribution helps a lot.

Try:

man 5 interfaces
man 8 ifconfig

For WiFi and, or WLAN interfaces please do read the following:

man 8 iwconfig

FYI, you need to tweak your /etc/network/interfaces config file a bit.

Hope that helps,
Cheers,

--
Dr Balwinder S "bsd" Dheeman Registered Linux User: #229709
Anu'z Linux@HOME (Unix Shoppe) Machines: #168573, 170593, 259192
Chandigarh, UT, 160062, India Gentoo, Fedora, Debian/FreeBSD/XP
Home: http://cto.homelinux.net/~bsd/ Visit: http://counter.li.org/
 
Reply With Quote
 
Markus Mayer
Guest
Posts: n/a

 
      03-07-2008, 11:22 PM
Balwinder S Dheeman schrieb:
> On 03/07/2008 04:06 PM, Markus Mayer wrote:
>> Hi folks.
>>
>> Just a short question: How do I make ifconfig settings permanent? I
>> disabled the multicast of some of my interfaces but after a restart of
>> the network everything seems like it was before.
>>
>> I'm new to linux and don't understand it's mechanisms yet. (Oh, right,
>> I'm using Ubuntu 7.10 if that matters)

>
> Oh, well the info about your current distribution helps a lot.
>
> Try:
>
> man 5 interfaces
> man 8 ifconfig
>
> For WiFi and, or WLAN interfaces please do read the following:
>
> man 8 iwconfig
>
> FYI, you need to tweak your /etc/network/interfaces config file a bit.
>
> Hope that helps,
> Cheers,
>


Okay. Thank you!

Markus
 
Reply With Quote
 
Markus Mayer
Guest
Posts: n/a

 
      03-07-2008, 11:22 PM
Nicolas BOUTHORS schrieb:
> Markus Mayer a écrit :
>> Just a short question: How do I make ifconfig settings permanent? I
>> disabled the multicast of some of my interfaces but after a restart of
>> the network everything seems like it was before.
>>
>> I'm new to linux and don't understand it's mechanisms yet. (Oh, right,
>> I'm using Ubuntu 7.10 if that matters)

>
> Use the /etc/network/interfaces file. There is a manpage associated (man
> 5 interfaces).
>
> You could add a line in the paragraph for your interface looking like
> this :
> post-up ifconfig eth0 -allmulti
>
> Adapt with the command you used.
>
> Cheers,
>
> Nicolas
>
>


Thanks!

Markus
 
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
permanent ifconfig settings for Fedora 8 Joseph Hesse Linux Networking 12 03-10-2008 02:36 AM
Permanent Drive Mapping NONU Windows Networking 3 08-07-2006 10:39 AM
Permanent ADSL connection? Simon Broadband 3 02-01-2006 03:20 PM
Permanent ADSL connection? Simon Home Networking 1 02-01-2006 01:45 PM
No permanent connection Jim Windows Networking 1 08-27-2003 07:29 PM



1 2 3 4 5 6 7 8 9 10 11