vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have added a 3rd interface for my wireless.. /etc/hostname.dc0 "inet 10.10.0.1 255.255.255.0" lets my pf.conf load but using "inet 10.10.0.1 255.255.255.0 media 10baseT mediaopt full-duplex " does not work.. When I execute from the command line ifconfig dc0 inet 10.10.0.1 netmask 255.255.255.0 and then ifconfig dc0 media 10baseT mediaopt full-duplex everthing works.. I want the interface to load with these parameters.. obviously I am missing something.. hints..?? Thx |
| |||
| CT <ct@oblivion.net> writes: > "inet 10.10.0.1 255.255.255.0 media 10baseT mediaopt full-duplex " netstart is pretty stupid about parsing /etc/hostname.xxx. Lines starting with inet are not passed to ifconfig.... they are massaged first. The first arg is address, the second netmask, and the third bcast address. Best slution for you is to add multiple lines. Use "up" as the command will cause the rest of the command line to be passed to ifconfig. So make your hostname.dc0 something like: inet 10.10.0.1 255.255.255.0 255.255.255.255 up media 10baseT mediaopt full-duplex For more info read and try to understand /etc/netstart // marc |
| |||
| try "inet 10.10.0.1 255.255.255.0 NONE media 10baseT mediaopt full-duplex " in your hostname.dc0 PereF0uras "CT" <ct@oblivion.net> a écrit dans le message de news:bk5Gb.18691$a44.7078@okepread04... > I have added a 3rd interface for my wireless.. > > /etc/hostname.dc0 > "inet 10.10.0.1 255.255.255.0" > > lets my pf.conf load but using > > "inet 10.10.0.1 255.255.255.0 media 10baseT mediaopt full-duplex " > > does not work.. > > When I execute from the command line > ifconfig dc0 inet 10.10.0.1 netmask 255.255.255.0 > and then > ifconfig dc0 media 10baseT mediaopt full-duplex > everthing works.. > > I want the interface to load with these parameters.. obviously I am > missing something.. > hints..?? > > Thx > |
| |||
| will see what happens on reboot.. Thx for the assistance.. > try > "inet 10.10.0.1 255.255.255.0 NONE media 10baseT mediaopt full-duplex " > in your hostname.dc0 > > PereF0uras > > "CT" <ct@oblivion.net> a écrit dans le message de > news:bk5Gb.18691$a44.7078@okepread04... > >>I have added a 3rd interface for my wireless.. >> >>/etc/hostname.dc0 >>"inet 10.10.0.1 255.255.255.0" >> >>lets my pf.conf load but using >> >>"inet 10.10.0.1 255.255.255.0 media 10baseT mediaopt full-duplex " >> >>does not work.. >> >>When I execute from the command line >>ifconfig dc0 inet 10.10.0.1 netmask 255.255.255.0 >>and then >>ifconfig dc0 media 10baseT mediaopt full-duplex >>everthing works.. >> >>I want the interface to load with these parameters.. obviously I am >>missing something.. >>hints..?? >> >>Thx >> > > > |
| ||||
| CT wrote: > > will see what happens on reboot.. > Thx for the assistance.. > >> try >> "inet 10.10.0.1 255.255.255.0 NONE media 10baseT mediaopt full-duplex " >> in your hostname.dc0 >> >> PereF0uras >> >> "CT" <ct@oblivion.net> a écrit dans le message de >> news:bk5Gb.18691$a44.7078@okepread04... >> >>> I have added a 3rd interface for my wireless.. >>> >>> /etc/hostname.dc0 >>> "inet 10.10.0.1 255.255.255.0" >>> >>> lets my pf.conf load but using >>> >>> "inet 10.10.0.1 255.255.255.0 media 10baseT mediaopt full-duplex " >>> >>> does not work.. >>> >>> When I execute from the command line >>> ifconfig dc0 inet 10.10.0.1 netmask 255.255.255.0 >>> and then >>> ifconfig dc0 media 10baseT mediaopt full-duplex >>> everthing works.. >>> >>> I want the interface to load with these parameters.. obviously I am >>> missing something.. >>> hints..?? >>> >>> Thx >>> This worked.. thx inet 10.10.0.1 255.255.255.0 NONE media 10baseT mediaopt full-duplex |