Skip to contentSkip to conversation

Permanent after reboot

Bridge Wesley GDS 3 participants 3 messages Mar 8, 2004 – Mar 15, 2004 Ethernet bridge

lore
Share & tools
lore

Wesley GDS

author
#0 lore raw

Hi there

I was just wondering if you could help me. I have set up a bridge between my two eth cards, works fine. The problem i have is that when i reboot my PC the bridge is lost. Is there any way i can make this permanent.

I am running slackware 9.1

Kind Regards
Wesley Coleman

#1 lore raw
Quoted 5 lines · Wesley GDS

Hi there

I was just wondering if you could help me. I have set up a bridge between my two eth cards, works fine. The problem i have is that when i reboot my PC the bridge is lost. Is there any way i can make this permanent.

I am running slackware 9.1

There are a set of initialization files or init files in Linux. You will need to write a script. All the steps that you used to create the bridge by hand is what will be stored in this script. The your script will need to be called in runlevel 3 and runlevel 5. This is how Linux systems startup. You may want to search on System V ( as in five ) startup files. Each distro puts their startup file in a different directory. On Redhat systems it is in /etc/rc.d but I am not sure if this is the same for Slackware.

I hope this helps,
Greg

#2 lore raw

just put it in
/etc/rc.d/rc.local
its simple and it works ;-)
if you even so want to use an System V script
you will have to create the dirs
/etc/rc.d/init.d
/etc/rc.d/rc3.d/
/etc/rc.d/rc5.d/
copy the script to init.d and create the links in rc3 and rc5. i would recopmend you using the rc.local just invoke your script. cheers
JC

Quoted 26 lines · Greg Morgan
Quoted 8 lines · Wesley GDS

Hi there

I was just wondering if you could help me. I have set up a bridge between my two eth cards, works fine. The problem i have is that when i reboot my PC the bridge is lost. Is there any way i can make this permanent.

I am running slackware 9.1

There are a set of initialization files or init files in Linux. You will need to write a script. All the steps that you used to create the
bridge by hand is what will be stored in this script. The your script
will need to be called in runlevel 3 and runlevel 5. This is how Linux systems startup. You may want to search on System V ( as in five ) startup files. Each distro puts their startup file in a different directory. On Redhat systems it is in /etc/rc.d but I am not sure if this is the same for Slackware.

I hope this helps,
Greg

_______________________________________________
Bridge mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/bridge

Signature · 5 lines
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joao de Deus Carvalho         Phone: +351-225081635      Fax: +351-225081537
Faculdade de Engenharia da            Email: [email protected]
Universidade do Porto         
   PGP Key fingerprint = F9D4 EC6A 2BA2 BCD6 0585  1682 891F 156F 8833 E56E