Bus 005 Device 007: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Poczytawszy trochę:
http://alien.slackbook.org/dokuwiki/dok ... re:network
Doszedłem do wniosku że można ją tak skonfigurować, żeby po podłączeniu automatycznie się skonfigurowała:
Runtime
UDEV will also take care of dynamic additions and removals of hardware. This involves networking hardware as well - think of wireless PCCard or USB devices. The same basic procedure as described in the previous bullet pont applies here, with the addition that on hardware removal, ultimately the following command will run:
/etc/rc.d/rc.inet1 INTERFACE_stop
which will de-activate the interface.
Umieściłem następujący wpis w /etc/rc.d/rc.inet1.conf:
Kod: Zaznacz cały
# Config information for ra0:
IFNAME[2]="ra0"
IPADDR[2]="10.0.0.1"
NETMASK[2]="255.255.255.0"
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""
Jeżeli usunę kartę i podłącze ją z powrotem wtedy ifconfig -a:
Kod: Zaznacz cały
ra0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:00:00:00:00:00 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Kod: Zaznacz cały
ra0 Ralink STA
lo no wireless extensions.
PS.
Czy ktoś wie dlaczego iw list nie wyświetla żadnych informacji o tej karcie (po uprzednim wydaniu komendy: ifconfig ra0 up)?