Strona 1 z 1

internet-czyli jak skonfigurować sieć

: 11 lis 2008, 20:49
autor: damian1985
pewnie już jestem kolejną osobą, która zawraca głowę czymś tak banalnym jednak mam do czynienia z ubuntu po raz pierwszy i poruszam się w nim jak dziecko we mgle dlatego prośże o wyrozumiałość
nie mogę skonfigurować sieci, mam kartę broadcom 802.11g

Odp: internet-czyli jak skonfigurować sieć

: 11 lis 2008, 20:53
autor: Annouse
Zajrzyj do tematu:
viewtopic.php?t=78708
A konkretnie do postu:
viewtopic.php?p=471353#p471353

Odp: internet-czyli jak skonfigurować sieć

: 11 lis 2008, 22:52
autor: whitefrog
U mnie jest troszkę inaczej i utknąłem:
/etc/network/interfaces

Kod: Zaznacz cały

auto lo
iface lo inet loopback

#auto eth1
#iface eth1 inet dhcp

auto eth2
#iface eth2 inet dhcp

#auto ath0
#iface ath0 inet dhcp


#iface wlan0 inet dhcp
#wpa-driver wext
#wpa-key-mgmt WPA-PSK
#wpa-proto WPA2
#wpa-ssid moj.dom

#auto wlan0

/etc/udev/rules.d/70-persistent-net.rules

Kod: Zaznacz cały

# This file maintains persistent names for network interfaces.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-persistent-net-generator.rules
# file; however you are also free to add your own entries.

# Converted from /etc/iftab on upgrade
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:13:d4:67:bb:0a", ATTRS{type}=="1", NAME="eth0"

# Converted from /etc/iftab on upgrade
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:10:60:74:4e:48", ATTRS{type}=="1", NAME="eth1"


# PCI device 0x14e4:0x4318 (b43-pci-bridge)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:e5:41:52:f8", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

Kod: Zaznacz cały

lsmod | grep bcm
lsmod | grep ndis
dmesg | grep bcm
bez żadnego widocznego efektu


iwconfig

Kod: Zaznacz cały

lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11g  ESSID:"moj.domek"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=27 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B   
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

irda0     no wireless extensions.

ale najciekawszy jest (chyba) wynik dmesg:

Kod: Zaznacz cały

[ 1810.620228] b43-phy0 debug: DMA-32 0x02A0 (TX) max used slots: 0/128
[ 1810.627935] b43-phy0 debug: DMA-32 0x0280 (TX) max used slots: 0/128
[ 1810.635908] b43-phy0 debug: DMA-32 0x0260 (TX) max used slots: 0/128
[ 1810.643892] b43-phy0 debug: DMA-32 0x0240 (TX) max used slots: 0/128
[ 1810.651882] b43-phy0 debug: DMA-32 0x0220 (TX) max used slots: 2/128
[ 1810.659875] b43-phy0 debug: DMA-32 0x0200 (TX) max used slots: 0/128
[ 1810.775891] input: b43-phy0 as /devices/virtual/input/input14
[ 1810.917318] b43-phy0 debug: Loading firmware version 351.126 (2006-07-29 05:54:02)
[ 1812.012212] b43-phy0 debug: Chip initialized
[ 1812.012466] b43-phy0 debug: 32-bit DMA initialized
[ 1812.031007] Registered led device: b43-phy0:tx
[ 1812.031032] Registered led device: b43-phy0:rx
[ 1812.031054] Registered led device: b43-phy0:radio
[ 1812.031089] b43-phy0 debug: Wireless interface started
[ 1812.031095] b43-phy0 debug: Adding Interface type 2
[ 1812.034193] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1968.035272] b43-phy0 debug: Removing Interface type 2
[ 1968.095240] b43-phy0 debug: Wireless interface stopped
[ 1968.095383] b43-phy0 debug: DMA-32 0x0200 (RX) max used slots: 1/64
[ 1968.095440] b43-phy0 debug: DMA-32 0x02A0 (TX) max used slots: 0/128
[ 1968.103230] b43-phy0 debug: DMA-32 0x0280 (TX) max used slots: 0/128
[ 1968.111296] b43-phy0 debug: DMA-32 0x0260 (TX) max used slots: 0/128
[ 1968.119197] b43-phy0 debug: DMA-32 0x0240 (TX) max used slots: 0/128
[ 1968.127182] b43-phy0 debug: DMA-32 0x0220 (TX) max used slots: 2/128
[ 1968.135173] b43-phy0 debug: DMA-32 0x0200 (TX) max used slots: 0/128
[ 1968.280080] input: b43-phy0 as /devices/virtual/input/input15
[ 1968.429735] b43-phy0 debug: Loading firmware version 351.126 (2006-07-29 05:54:02)
[ 1969.491507] b43-phy0 debug: Chip initialized
[ 1969.491773] b43-phy0 debug: 32-bit DMA initialized
[ 1969.510375] Registered led device: b43-phy0:tx
[ 1969.510399] Registered led device: b43-phy0:rx
[ 1969.510421] Registered led device: b43-phy0:radio
[ 1969.510457] b43-phy0 debug: Wireless interface started
[ 1969.510463] b43-phy0 debug: Adding Interface type 2
[ 1969.513574] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1969.581788] b43-phy0 debug: Removing Interface type 2
[ 1969.633835] b43-phy0 debug: Wireless interface stopped
[ 1969.633939] b43-phy0 debug: DMA-32 0x0200 (RX) max used slots: 0/64
[ 1969.633994] b43-phy0 debug: DMA-32 0x02A0 (TX) max used slots: 0/128
[ 1969.641701] b43-phy0 debug: DMA-32 0x0280 (TX) max used slots: 0/128
[ 1969.649769] b43-phy0 debug: DMA-32 0x0260 (TX) max used slots: 0/128
[ 1969.657658] b43-phy0 debug: DMA-32 0x0240 (TX) max used slots: 0/128
[ 1969.665645] b43-phy0 debug: DMA-32 0x0220 (TX) max used slots: 0/128
[ 1969.674002] b43-phy0 debug: DMA-32 0x0200 (TX) max used slots: 0/128
[ 1969.737692] input: b43-phy0 as /devices/virtual/input/input16
[ 1969.896403] b43-phy0 debug: Loading firmware version 351.126 (2006-07-29 05:54:02)
[ 1970.958044] b43-phy0 debug: Chip initialized
[ 1970.958293] b43-phy0 debug: 32-bit DMA initialized
[ 1970.976867] Registered led device: b43-phy0:tx
[ 1970.976892] Registered led device: b43-phy0:rx
[ 1970.976914] Registered led device: b43-phy0:radio
[ 1970.976949] b43-phy0 debug: Wireless interface started
[ 1970.976955] b43-phy0 debug: Adding Interface type 2
[ 1970.980067] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2815.595859] b43-phy0 debug: Removing Interface type 2
[ 2815.647957] b43-phy0 debug: Wireless interface stopped
[ 2815.648064] b43-phy0 debug: DMA-32 0x0200 (RX) max used slots: 1/64
[ 2815.648117] b43-phy0 debug: DMA-32 0x02A0 (TX) max used slots: 0/128
[ 2815.655826] b43-phy0 debug: DMA-32 0x0280 (TX) max used slots: 0/128
[ 2815.663797] b43-phy0 debug: DMA-32 0x0260 (TX) max used slots: 0/128
[ 2815.671779] b43-phy0 debug: DMA-32 0x0240 (TX) max used slots: 0/128
[ 2815.679770] b43-phy0 debug: DMA-32 0x0220 (TX) max used slots: 2/128
[ 2815.687762] b43-phy0 debug: DMA-32 0x0200 (TX) max used slots: 0/128
[ 2815.799789] input: b43-phy0 as /devices/virtual/input/input17
[ 2815.954352] b43-phy0 debug: Loading firmware version 351.126 (2006-07-29 05:54:02)
[ 2817.028113] b43-phy0 debug: Chip initialized
[ 2817.028361] b43-phy0 debug: 32-bit DMA initialized
[ 2817.046909] Registered led device: b43-phy0:tx
[ 2817.046935] Registered led device: b43-phy0:rx
[ 2817.046957] Registered led device: b43-phy0:radio
[ 2817.046994] b43-phy0 debug: Wireless interface started
[ 2817.047000] b43-phy0 debug: Adding Interface type 2
[ 2817.050100] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2817.106380] b43-phy0 debug: Removing Interface type 2
[ 2817.162479] b43-phy0 debug: Wireless interface stopped
[ 2817.162586] b43-phy0 debug: DMA-32 0x0200 (RX) max used slots: 0/64
[ 2817.162643] b43-phy0 debug: DMA-32 0x02A0 (TX) max used slots: 0/128
[ 2817.170326] b43-phy0 debug: DMA-32 0x0280 (TX) max used slots: 0/128
[ 2817.178319] b43-phy0 debug: DMA-32 0x0260 (TX) max used slots: 0/128
[ 2817.186278] b43-phy0 debug: DMA-32 0x0240 (TX) max used slots: 0/128
[ 2817.194265] b43-phy0 debug: DMA-32 0x0220 (TX) max used slots: 0/128
[ 2817.202256] b43-phy0 debug: DMA-32 0x0200 (TX) max used slots: 0/128
[ 2817.262375] input: b43-phy0 as /devices/virtual/input/input18
[ 2817.412839] b43-phy0 debug: Loading firmware version 351.126 (2006-07-29 05:54:02)
[ 2818.486661] b43-phy0 debug: Chip initialized
[ 2818.486919] b43-phy0 debug: 32-bit DMA initialized
[ 2818.505457] Registered led device: b43-phy0:tx
[ 2818.505483] Registered led device: b43-phy0:rx
[ 2818.505504] Registered led device: b43-phy0:radio
[ 2818.505539] b43-phy0 debug: Wireless interface started
[ 2818.505544] b43-phy0 debug: Adding Interface type 2
[ 2818.508659] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2819.400438] wlan0: Initial auth_alg=0
[ 2819.400446] wlan0: authenticate with AP 00:22:6b:4d:45:3e
[ 2819.599878] wlan0: authenticate with AP 00:22:6b:4d:45:3e
[ 2819.799680] wlan0: authenticate with AP 00:22:6b:4d:45:3e
[ 2819.999482] wlan0: authentication with AP 00:22:6b:4d:45:3e timed out
[ 2825.174613] wlan0: Initial auth_alg=0
[ 2825.174622] wlan0: authenticate with AP 00:22:6b:4d:45:3e
[ 2825.374132] wlan0: authenticate with AP 00:22:6b:4d:45:3e
[ 2825.573932] wlan0: authenticate with AP 00:22:6b:4d:45:3e
[ 2825.773733] wlan0: authentication with AP 00:22:6b:4d:45:3e timed out
potem wiele powtarzających się komunikatów timed out aż na końcu:

Kod: Zaznacz cały

[ 3266.895502] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 3266.978693] b43-phy0 debug: Removing Interface type 2
[ 3267.038646] b43-phy0 debug: Wireless interface stopped
[ 3267.038791] b43-phy0 debug: DMA-32 0x0200 (RX) max used slots: 1/64
[ 3267.038847] b43-phy0 debug: DMA-32 0x02A0 (TX) max used slots: 0/128
[ 3267.046638] b43-phy0 debug: DMA-32 0x0280 (TX) max used slots: 0/128
[ 3267.054615] b43-phy0 debug: DMA-32 0x0260 (TX) max used slots: 0/128
[ 3267.062604] b43-phy0 debug: DMA-32 0x0240 (TX) max used slots: 0/128
[ 3267.070596] b43-phy0 debug: DMA-32 0x0220 (TX) max used slots: 2/128
[ 3267.078587] b43-phy0 debug: DMA-32 0x0200 (TX) max used slots: 0/128
[ 3276.960744] eth0: no IPv6 routers present
Rozumiecie coś z tego?
Pomożecie? Plzz..

W tej chwili jestem podpięty "po kablu" do routera i necik ładnie śmiga, lecz przez wifi kiszka :/

Odp: internet-czyli jak skonfigurować sieć

: 12 lis 2008, 20:58
autor: damian1985
odnośnie tego drugiego linka
wszystko spoko tylko jest problem przy przypisywaniu klucza WEP'owego, kiedy wpisuje komendę iwconfig eth1 keyKLUCZ pojawia się komunikat: Error for wireless request "Set Encode" (8B2A):
invalid argument "KLUCZ"
i co dalej?