Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 279417 Details for
Bug 374419
dhcp suddenly no longer started for wlan0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/conf.d/net
net (text/plain), 1.76 KB, created by
Toralf Förster
on 2011-07-08 08:55:02 UTC
(
hide
)
Description:
/etc/conf.d/net
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2011-07-08 08:55:02 UTC
Size:
1.76 KB
patch
obsolete
># /etc/conf.d/net ># > ># KVM ># >bridge_br0="tap0 tap1" >config_br0="192.168.0.254/16" >brctl_br0=" >setfd 0 >sethello 30 >stp off" >rc_need_br0="net.tap0 net.tap1" > >config_tap0="null" >tuntap_tap0="tap" >tunctl_tap0="-u <uname>" > >config_tap1="null" >tuntap_tap1="tap" >tunctl_tap1="-u <uname>" > > ># <company>: LAN ># >config_eth0="null" >#config_eth0="192.168.0.254/16 dhcp" >dhcp_eth0="nontp" >dhcpcd_eth0="-L -t 37 -h <hostname>" > ># home: DSL ># >link_ppp0="eth0" >plugins_ppp0="pppoe" >username_ppp0="<username>" >password_ppp0="<password>" >pppd_ppp0="defaultroute usepeerdns maxfail 1 updetach" > ># <company>: WLAN ># >preferred_aps="<company>" >associate_timeout_wlan0=25 >config_wlan0="dhcp" >dhcp_wlan0="nontp" >dhcpcd_wlan0="-L -t 15 -h <hostname>" > >postup() >{ > if [[ "$IFACE" = "br0" || "$IFACE" = "eth0" ]]; then > if [[ "$IFACE" = "br0" ]]; then > echo 1 > /proc/sys/net/ipv4/conf/br0/forwarding > for f in arptables ip6tables iptables > do > echo 0 > /proc/sys/net/bridge/bridge-nf-call-$f > done > fi > ># elif [[ "$IFACE" = "eth0" ]]; then > > if [[ "$(cat /sys/bus/platform/devices/dock.0/docked)" = "1" ]]; then > /etc/init.d/net.ppp0 restart > > else > # if not docked we're in the office > # start here wlan0 if there's no route to the 9.x intranet till now (== eth0 not connected) > # > /sbin/route -n | grep -q -e "^9\." > if [[ $? -ne 0 ]]; then > /etc/init.d/net.wlan0 restart > fi > fi > > elif [[ "$IFACE" = "ppp0" ]]; then > /home/<uname>/workspace/bin/change_resolv.sh > > elif [[ "$IFACE" = "wlan0" ]]; then > /sbin/iwconfig wlan0 power on > /home/<uname>/workspace/bin/change_resolv.sh > fi >} > >predown() >{ > if [[ "$IFACE" = "br0" ]]; then > echo 0 > /proc/sys/net/ipv4/conf/br0/forwarding > for f in arptables ip6tables iptables > do > echo 1 > /proc/sys/net/bridge/bridge-nf-call-$f > done > fi >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 374419
: 279417 |
279419