CentOS 6.2 problem sa wireless ad-hoc konekcijom

1 odgovor [Poslednji unos]
ivandj
Slika korisnika ivandj
Offline
User
Član od: 17/06/2012

Pozdrav

Nisam pisao po forumima poodavno, od Debian foruma, jer uglavnom sve ima, ali evo...moram Laughing out loud.
Par godina koristim linux. Probao sam razne distribucije, ali nekako mi najvise lezi fedora, makar za ovaj laptop (Lenovo R60). I dobar je za sve OS. Cak je teran i mac os lepard u dualboot-u s win i radio je extra (bilo je malo zezanja sa kextovima doduse, al namesteno). Ovo cisto ako nekog zanima hardverska podrzanost, a slucajno ovo procita Smile. Moj nivo znanja je linux fan Smile. Znaci nemam strucno informaticko obrazovanje kao podlogu, al snalazio sam se za osnove... do sad. Kupio sam dve knjige o Red Hat-u administraciji i umrezavanju i resio od korica do korica, pa posto je Centos tu nekako najblizi a fedora otisla na gnome 3 i struktura fajlova i direktorijuma bude malo razlicita... instalram Centos 6.2. Da ne ispadne da pisem blog, ovo cisto zbog upoznavanja Smile, a problem se sastoji u sledecem:

Imam Mac mini ppc G4 kao multimedijalni centar Smile, monitor je tv. Sa tog racunara sam napravio hotspot bez zastite sa usb D-linkom. Kacio sam se sa raznim linuxima, winowsima i ipod touch 2, a ovaj poslednji je bitan za ovu pricu Smile. Mreza nije staticka vec ostavljena da se na nju konektuje dhcp automatik opcijom. Centos ne moze da se konektuje na ovu mrezu. MEDJUTIM, kad se konektujem ipodom na mrezu (bez problema, kao i uvek), pa se onda konektujem sa laptopm tj. Centos-om, onda se i on konektuje!!!! I radi internet najnormalnije. Kad iskljucim ipod, ne radi ni ovo. Editovao sam neke fajlove ali prevazilazi to moj nivo znanja, a da ne ceprkam preko reda po ovim knjigama, molio bih za pomoc.

lspci -vnn za iwl3945

03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection [8086:4227] (rev 02)
Subsystem: Intel Corporation ThinkPad R60e/X60s [8086:1011]
Physical Slot: 3
Flags: bus master, fast devsel, latency 0, IRQ 30
Memory at edf00000 (32-bit, non-prefetchable) [=4K]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [e0] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-19-d2-ff-ff-85-51-67
Kernel driver in use: iwl3945
Kernel modules: iwl3945

lsmod | grep iwl
iwl3945 69077 0
iwlcore 63753 1 iwl3945
mac80211 130488 2 iwl3945,iwlcore
cfg80211 117703 3 iwl3945,iwlcore,mac80211

cat /var/log/messages #kad se konektuje bez ipod-a
Jun 17 19:32:52 idj NetworkManager[4809]: Activation (wlan0) Stage 5 of 5 (IP Configure Commit) started...
Jun 17 19:32:52 idj NetworkManager[4809]: Activation (wlan0) Stage 5 of 5 (IP Configure Commit) failed (no IP configuration found)
Jun 17 19:32:52 idj NetworkManager[4809]: (wlan0): device state change: 7 -> 9 (reason 5)
Jun 17 19:32:52 idj NetworkManager[4809]: Activation (wlan0) failed for access point (air)
Jun 17 19:32:52 idj NetworkManager[4809]: Marking connection 'Auto air' invalid.
Jun 17 19:32:52 idj NetworkManager[4809]: Activation (wlan0) failed.
Jun 17 19:32:52 idj NetworkManager[4809]: Activation (wlan0) Stage 5 of 5 (IP Configure Commit) complete.
Jun 17 19:32:52 idj NetworkManager[4809]: (wlan0): device state change: 9 -> 3 (reason Innocent
Jun 17 19:32:52 idj NetworkManager[4809]: (wlan0): deactivating device (reason: Innocent.
Jun 17 19:32:52 idj NetworkManager[4809]: [1339954372.214727] [nm-device-wifi.c:1542] nm_device_wifi_set_mode(): (wlan0): error setting mode 2

cat /var/log/messages | tail #kad se konektujem prethodno ipod-om, i internet radi
Jun 17 19:32:52 idj NetworkManager[4809]: Activation (wlan0) Stage 5 of 5 (IP Configure Commit) started...
Jun 17 19:32:52 idj NetworkManager[4809]: Activation (wlan0) Stage 5 of 5 (IP Configure Commit) failed (no IP configuration found)
Jun 17 19:32:52 idj NetworkManager[4809]: (wlan0): device state change: 7 -> 9 (reason 5)
Jun 17 19:32:52 idj NetworkManager[4809]: Activation (wlan0) failed for access point (air)
Jun 17 19:32:52 idj NetworkManager[4809]: Marking connection 'Auto air' invalid.
Jun 17 19:32:52 idj NetworkManager[4809]: Activation (wlan0) failed.
Jun 17 19:32:52 idj NetworkManager[4809]: Activation (wlan0) Stage 5 of 5 (IP Configure Commit) complete.
Jun 17 19:32:52 idj NetworkManager[4809]: (wlan0): device state change: 9 -> 3 (reason Innocent
Jun 17 19:32:52 idj NetworkManager[4809]: (wlan0): deactivating device (reason: Innocent.
Jun 17 19:32:52 idj NetworkManager[4809]: [1339954372.214727] [nm-device-wifi.c:1542] nm_device_wifi_set_mode(): (wlan0): error setting mode 2
[root@idj ~]# cat /var/log/messages | tail
Jun 17 19:34:19 idj NetworkManager[4809]: Activation (wlan0) Stage 5 of 5 (IP Configure Commit) scheduled...
Jun 17 19:34:19 idj NetworkManager[4809]: Activation (wlan0) Stage 4 of 5 (IP4 Configure Get) complete.
Jun 17 19:34:19 idj NetworkManager[4809]: Activation (wlan0) Stage 5 of 5 (IP Configure Commit) started...
Jun 17 19:34:19 idj avahi-daemon[1835]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.2.55.
Jun 17 19:34:19 idj avahi-daemon[1835]: New relevant interface wlan0.IPv4 for mDNS.
Jun 17 19:34:19 idj avahi-daemon[1835]: Registering new address record for 192.168.2.55 on wlan0.IPv4.
Jun 17 19:34:20 idj NetworkManager[4809]: (wlan0): device state change: 7 -> 8 (reason Innocent
Jun 17 19:34:20 idj NetworkManager[4809]: Policy set 'Auto air' (wlan0) as default for IPv4 routing and DNS.
Jun 17 19:34:20 idj NetworkManager[4809]: Activation (wlan0) successful, device activated.
Jun 17 19:34:20 idj NetworkManager[4809]: Activation (wlan0) Stage 5 of 5 (IP Configure Commit) complete.

uname -a
Linux idj 2.6.32-220.17.1.el6.i686 #1 SMP Tue May 15 22:09:39 BST 2012 i686 i686 i386 GNU/Linux

Probao sam neke live cd distribucije, radi net, cackao nesto po sysconfig/netw*script, bez uspeha. Iptables i firewall ukljucivao iskljucivao... isto. Ubacio sam kernel-ml-3.4***, e onda proradi, ali se kernel zakuca, tako da to otpada.

Izvinjavam se zbog mozda malo duze price, ali ovo je postalo stvar inata Smile)).

Pozdrav

0
ivandj
Slika korisnika ivandj
Offline
User
Član od: 17/06/2012

Nekad nije moglo da prodje par sati a da se ne pojavi odgovor na linux forumima Sad.

Za ovaj problem je resenje (nisu se pojavili neki problemi, makar do sada):

instalirati kmod-compat-wireless-3.3-2.n.el6.elrepo.i686.rpm
editovati /etc/modprobe.d/blacklist.conf i dopisati
blacklist iwlagn
blacklist ar9170usb

preimenovati ili obrisati blacklist-compat-wireless.conf

onda

sudo reboot

Pozz