\etc\sysconfig\network\ symbolic link

This is a discussion on \etc\sysconfig\network\ symbolic link within the Linux Networking forums, part of the Linux Forums category; OS: Suse 9.0 [2.4.21-215-default] [grub] [kde 3.1] Sitchy-ation::: have different networks my laptop ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-08-2004
TroyC
 
Posts: n/a
Default \etc\sysconfig\network\ symbolic link

OS: Suse 9.0 [2.4.21-215-default] [grub] [kde 3.1]

Sitchy-ation:::
have different networks my laptop has to connect to
at different times [home, work location 1,
work location 2, etc]

Trying to use a symbolic link for 'ifcfg-eth0'.

right now I have mutliple ifcfg-type files named:::

eth0.dhcp used for dhcp [default work/home]
eth0.C.1 static for 192.168.1.x network
eth0.A.1 static for lab testing 1.1.1.x network
eth0.C.16 used for work 16.x net [no dhcp]

so, I have a sym link set for ifcfg-eth0-->eth0.dhcp

UPON BOOTUP the sym link is not seen/paid attention to;
and the network interface does not come up.

However, after bootup, I can 'ifup eth0' and the link
comes up fine [no matter which file I have the sym link
pointing to].

What is the reason that the bootup scripts won't see
the sym link?

Is there a way to 'automate' this via grub on boot by passing param? [really
don't prefer this...but...]

Thanks,
TroyC




----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Reply With Quote
  #2 (permalink)  
Old 06-09-2004
TroyC
 
Posts: n/a
Default Answer Re: \etc\sysconfig\network\ symbolic link

sure enough grub was the option:::
http://www.kplug.org/lmbp/

courtesy of google
http://www.google.com/search?hl=en&l...g-eth0+symboli
+link&btnG=Search

I wrote:

> OS: Suse 9.0 [2.4.21-215-default] [grub] [kde 3.1]
>
> Sitchy-ation:::
> have different networks my laptop has to connect to
> at different times [home, work location 1,
> work location 2, etc]
>
> Trying to use a symbolic link for 'ifcfg-eth0'.
>
> right now I have mutliple ifcfg-type files named:::
>
> eth0.dhcp used for dhcp [default work/home]
> eth0.C.1 static for 192.168.1.x network
> eth0.A.1 static for lab testing 1.1.1.x network
> eth0.C.16 used for work 16.x net [no dhcp]
>
> so, I have a sym link set for ifcfg-eth0-->eth0.dhcp
>
> UPON BOOTUP the sym link is not seen/paid attention to;
> and the network interface does not come up.
>
> However, after bootup, I can 'ifup eth0' and the link
> comes up fine [no matter which file I have the sym link
> pointing to].
>
> What is the reason that the bootup scripts won't see
> the sym link?
>
> Is there a way to 'automate' this via grub on boot by passing param?
> [really don't prefer this...but...]
>
> Thanks,
> TroyC
>
>
>
>
> ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet
> News==---- http://www.newsfeed.com The #1 Newsgroup Service in the World!
> >100,000 Newsgroups ---= 19 East/West-Coast Specialized Servers - Total

> Privacy via Encryption =---


--
---------
No bits were hurt during this transmission.


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Reply With Quote
  #3 (permalink)  
Old 06-09-2004
Ralf Herrmann
 
Posts: n/a
Default Re: Answer Re: \etc\sysconfig\network\ symbolic link

Hi,

it should also work with your original approach.
But using boot profiles is far more comfortable i guess.

Sorry, i don't remeber the network script name that is used to
set up net devices (somewhere in /etc/init.d/), but i've looked
over it some time ago.
There were some restrictions which files are loaded so
some were simply left out. This might apply to symlinks,
but i'm not sure.
Check the script and i think you could change it to
handle the link file ifcfg-eth0 correctly.

Ciao

Ralf
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:29 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0