ako to zmenit,tu je aky taky vypis z iwconfig
wifi0 no wireless extensions.
ath0 IEEE 802.11g ESSID:"XXX" Nickname:"XXX"
Mode:Managed Frequency:2.437 GHz Access Point: 00:50:7F:B3:85:F8
Bit Rate:54 Mb/s Tx-Power:17 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:6A75-3631-30 Security mode:restricted
Power Management:off
Link Quality=53/94 Signal level=-44 dBm Noise level=-97 dBm
Rx invalid nwid:213 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
proste zamenit wifi0 za ath0 , dik distro je ubuntu 7.04
v SYSFS{address} by malo byt co?a namiesto KERNEL dat verziu kernelu?spytam sa ze ako zistim presnu verziu kernelu?
KERNEL=="ath0", SYSFS{address}=="00:15:AF:26:98:F2", SYMLINK+="wifi0"
bash: SYSFS{address}==00:15:AF:26:98:F2,: príkaz nenájdený
# This file causes network devices to be brought up or down as a result
moze byt?# of hardware being added or removed, including that which isn't ordinarily
# removable.
# See udev(7) for syntax.
SUBSYSTEM=="net", DRIVERS=="?*", GOTO="net_start"
GOTO="net_end"
LABEL="net_start"
# Bring devices up and down only if they're marked auto.
# Use start-stop-daemon so we don't wait on dhcp
ACTION=="add", RUN+="/sbin/start-stop-daemon --start --background --pidfile /var/run/network/bogus --startas /sbin/ifup -- --allow auto $env{INTERFACE}"
ACTION=="remove", RUN+="/sbin/start-stop-daemon --start --background --pidfile /var/run/network/bogus --startas /sbin/ifdown -- --allow auto $env{INTERFACE}"
LABEL="net_end"
KERNEL=="ath0", SYSFS{address}=="00:15:AF:26:98:F2", SYMLINK+="wifi0"
@NOTEBOOK:/etc/udev/rules.d$ cat 70-persistent-net.rules
# PCI device 0x14e4:0x167d (tg3)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="MA:CA:DR:ES:AE:TH", NAME="eth0"
# PCI device 0x8086:0x4220 (ipw2200)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="MA:CA:DR:ES:AE:TH", NAME="eth1"
@NOTEBOOK:/etc/udev/rules.d$
kde za MA:CA:DR:ES:AE:TH dosadíme MAC adresu sieťovky alebo použijeme iný identifuckátor zariadenia, ja to mám tak a stačí to.
/etc/conf.d/network.conf
alebo subor s podobnym nazvom, ale v tom adresary. Prejdi ten konfigurak a uvidis ci sa to nebude dat prenastavit tam, ale opacne ako si kcel,ath0
divajs ti ostane, ale priradis ho konfiguracnemu prikazu (prepiseswifi0
zaath0
).