Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 27841 Details for
Bug 45483
Wireless configuration and startup scripts - tried and tested
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Replacement configuration script for wirless networking
net (text/plain), 4.03 KB, created by
Roy Marples (RETIRED)
on 2004-03-23 02:35:42 UTC
(
hide
)
Description:
Replacement configuration script for wirless networking
Filename:
MIME Type:
Creator:
Roy Marples (RETIRED)
Created:
2004-03-23 02:35:42 UTC
Size:
4.03 KB
patch
obsolete
># /etc/conf.d/net: > ># Global config file for net.* rc-scripts > ># This is basically the ifconfig argument without the ifconfig $iface ># >#iface_eth0="192.168.0.13 broadcast 192.168.0.255 netmask 255.255.255.0" >#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0" > ># For DHCP set iface_eth? to "dhcp" ># For passing options to dhcpcd use dhcpcd_eth? ># >iface_eth0="dhcp" >#dhcpcd_eth0="..." >#iface_eth1="dhcp" >#dhcpcd_eth1="..." > ># An external script can be run by specifying its location below >#preifup_eth0="/run/this/script" >#preifdown_eth=0"/run/this/script" > >############################################################################## ># Wireless settings # >############################################################################## > ># Hard code an ESSID to an interface ># This needs to be done when the driver doesn't support scanning ># Set to "any" to connect to any ESSID ># This may work for drivers that don't support scanning but you need automatic AP association >#wireless_essid_eth0="any" > ># Set the mode of the interface. Managed is default >#wireless_mode_eth0="Managed" > ># Setup any other config commands. This is basically the iwconfig argument ># without the iwconfig $iface >#wireless_config_eth0="" > ># Set private driver ioctls. This is basically the iwpriv argument without ># the iwpriv $iface >#wireless_priv_eth0="" > ># Some drivers need to scan in Ad-Hoc mode ># After scan, the mode is reset to the one defined above >#wireless_scan_mode_eth0="Ad-Hoc" > ># We can define various timeouts in seconds here >#wireless_sleep_scan_eth0="1" >#wireless_sleep_associate_eth0="5" > ># Below you can define private ioctls to run before and after scanning ># Format is the same as the wireless_priv above ># This is needed for the HostAP drivers >#wireless_priv_scan_pre_eth0="host_roaming 2" >#wireless_priv_scan_post_eth0="host_roaming 0" > ># Define a WEP key per ESSID ># IMPORTANT: any characters that are NOT in a_z A_Z 0_9 should be ># replaced with the _ character. For example #123 becomes _123 ># wireless_key takes the same parameters as the key function in iwconfig ># You can also set iface, dhcpcd and gateway options per ESSID ># If they aren't set then the defaults for the interface are used ># IMPORTANT: don't set an interface for wireless gateway - just use an IP address ># The below examples use ESSID - change it to yours. ># You can't use "any" for an ESSID here >#wireless_key_ESSID="open 1234-1234-1234-1234-1234-1234-56" ># or you can use strings. Passphrase IS NOT supported >#wireless_key_ESSID="open s:foobar" > ># You can also override the interace settings here - even provide ># a nameserver/domain per ESSID >#wireless_iface_ESSID="dhcp" >#wireless_dhcpcd_ESSID="..." >#wireless_gateway_ESSID="192.168.0.1" >#wireless_nameserver_ESSID="" >#wireless_domain_ESSID="" > ># LEAP users will want to use the preassociate setting to specify ># an authentication script >#wireless_preassociate_ESSID="/run/this/script" >#wireless_preifup_ESSID="/run/this/script" >#wireless_preifdown_ESSID="/run/this/script" > ># This lists the preferred ESSIDs to connect to in order ># ESSID's can contain any characters here as they must match the broadcast ># ESSID exactly ># Seperate the ESSIDs with tabs - NOT spaces ># If the first ESSID isn't found then it moves onto the next ># If this isn't defined then it connects to the first one found >#wireless_preferred="ESSID1 ESSID2 ESSID3 ESSID4" > >############################################################################## ># End Wireless Settings # >############################################################################## > ># For adding aliases to a interface ># >#alias_eth0="192.168.0.3 192.168.0.4" > ># NB: The next is only used for aliases. ># ># To add a custom netmask/broadcast address to created aliases, ># uncomment and change accordingly. Leave commented to assign ># defaults for that interface. ># >#broadcast_eth0="192.168.0.255 192.168.0.255" >#netmask_eth0="255.255.255.0 255.255.255.0" > > ># For setting the default gateway ># >#gateway="eth0/192.168.0.1" >
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 45483
:
27840
|
27841
|
28560
|
28561