Portál AbcLinuxu, 27. dubna 2024 03:52
Jak jsem přes Google našel, je to něco k rt2500usb. Já sám mam atheros 2512, mam interfejsy ath0 a wifi0, vypadají následovně:
ip addr 4: wifi0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 199 link/ieee802.11 00:16:ce:0c:92:6c brd ff:ff:ff:ff:ff:ff 5: ath0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue link/ether 00:16:ce:0c:92:6C brd ff:ff:ff:ff:ff:ff inet X.X.X.X/X brd X.X.X.X scope global ath0Ve zdrojákách na madwifi jsem našel následující záhlaví funkce:
dev = alloc_netdev(sizeof(struct ath_pci_softc), "wifi%d", ether_setup);Už podle stejné fyzické adresy vidím spojitost, víc jsem neměl. nemám čas hledat.
The master device wmaster0 mac80211 creates creates one master device and as many other secondary devices as requested to represent interfaces for the wireless card you have. mac80211 asks for the master device to appear as named as wmaster%d, and wlan%0 for the interfaces. udev may override the naming convention used though. wmaster%d is an internal master device used only by mac80211. It is currently visible only because it uses netdevice structure which we must allocate and use for for QoS. It also serves as a holder for all interfaces we have, and represent the underlying hardware. For example, when TXing your wlan0 STA interface will actually add IEEE-802.11 header data to a frame with just Ethernet headers, and then pass it down to the master device for actual transmission using the low level drivers. The wlan%d devices (interfaces) are the devices you would use to configure your wireless settings.
Trošku jsem s tim zalaboroval, mam při připojení přes wifi interfejsy loopback, ath0 a wifi0, když shodim wifi0, spadne mi i ath0 a (samozřejmě) i routa. Když shodim loopback, internet zdá se funguje, tedy browsení. Měl jsem nejdřív dojem, že wifi0 je nějakej loopback pro wifi, teď mi přijde jako L2 rozhraní pro ath0 ... jen hádam. Snad se k tomu brzo dostanu ... abych si to našel sám .
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.