WLAN net-kapcsolat vs. Linux (avagy Broadcom bcm43xx vs. Linux)

Kezdőlap Fórumok Vegyes felvágott WLAN net-kapcsolat vs. Linux (avagy Broadcom bcm43xx vs. Linux)

10 bejegyzés megtekintése - 41-50 / 96
  • Szerző
    Bejegyzés
  • #2083623
    bepe79
    Felhasználó
      smica wrote:
      De te miért az eth0 -án akarsz essid -et állítani, és miért nem a wlan0 -án?

      Hat mert fentebb ezt olvastam:

      „…kell kicsit hackelni.
      ugyanis ha koran tolti be a modult, akkor a firmware-t valamiert nem huzza be (nem vagyok kernel hacker, hogy ezt tudjam miert), ekkor a bcm43xx kernel modul betoltesenel letrejon wlan0 es wmaster0. na ez kerem a biztos jele, hogy nem muxik a wlan kartyad.
      rmmod bcm43xx bcm43xx-d80211
      majd modprobe bcm43xx (persz ezt majd akkor, ha a firmware csomag mar fent van)
      aztan mar nincs wlan0 es wmaster0, hanem helyette letrejon az eth1. ha ez meg van, akkor mar muxik a kartya…”

      #2083624
      smica
      Felhasználó
        bepe79 wrote:
        Hat mert fentebb ezt olvastam:

        „…kell kicsit hackelni.
        ugyanis ha koran tolti be a modult, akkor a firmware-t valamiert nem huzza be (nem vagyok kernel hacker, hogy ezt tudjam miert), ekkor a bcm43xx kernel modul betoltesenel letrejon wlan0 es wmaster0. na ez kerem a biztos jele, hogy nem muxik a wlan kartyad.
        rmmod bcm43xx bcm43xx-d80211
        majd modprobe bcm43xx (persz ezt majd akkor, ha a firmware csomag mar fent van)
        aztan mar nincs wlan0 es wmaster0, hanem helyette letrejon az eth1. ha ez meg van, akkor mar muxik a kartya…”

        Akkor szerintem én elmegyek aludni, mert már alig látok, és amit látok, azt sem fogom fel.

        #2083625
        Oregon
        Felhasználó
          bepe79 wrote:
          smica wrote:
          De te miért az eth0 -án akarsz essid -et állítani, és miért nem a wlan0 -án?

          Hat mert fentebb ezt olvastam:

          „…kell kicsit hackelni.
          ugyanis ha koran tolti be a modult, akkor a firmware-t valamiert nem huzza be (nem vagyok kernel hacker, hogy ezt tudjam miert), ekkor a bcm43xx kernel modul betoltesenel letrejon wlan0 es wmaster0. na ez kerem a biztos jele, hogy nem muxik a wlan kartyad.
          rmmod bcm43xx bcm43xx-d80211
          majd modprobe bcm43xx (persz ezt majd akkor, ha a firmware csomag mar fent van)
          aztan mar nincs wlan0 es wmaster0, hanem helyette letrejon az eth1. ha ez meg van, akkor mar muxik a kartya…”

          ls /lib/firmware
          kuld mar el.

          #2083626
          bepe79
          Felhasználó
            Oregon wrote:
            ls /lib/firmware

            root:~# ls /lib/firmware
            BCM2033-FW.bin              foo2zjs
            BCM2033-MD.hex              ipw2100-1.3.fw
            bcm43xx_initval01.fw        ipw2100-1.3-i.fw
            bcm43xx_initval02.fw        ipw2100-1.3-p.fw
            bcm43xx_initval03.fw        ipw2200-bss.fw
            bcm43xx_initval04.fw        ipw2200-ibss.fw
            bcm43xx_initval05.fw        ipw2200-sniffer.fw
            bcm43xx_initval06.fw        ipw3945.ucode
            bcm43xx_initval07.fw        mixart
            bcm43xx_initval08.fw        multiface_firmware.bin
            bcm43xx_initval09.fw        multiface_firmware_rev11.bin
            bcm43xx_initval10.fw        pcxhr
            bcm43xx_microcode2.fw        tiacx100
            bcm43xx_microcode4.fw        tiacx100r0D
            bcm43xx_microcode5.fw        tiacx100r11
            bcm43xx_pcm4.fw              tiacx100r15
            bcm43xx_pcm5.fw              tiacx100usb
            BCM-LEGAL.txt                tiacx111c16
            digiface_firmware.bin        tiacx111c17
            digiface_firmware_rev11.bin  tiacx111c19
            ea                          vx
            root:~#

            #2083627
            bepe79
            Felhasználó

              iwconfig, ifconfig, dhcpcd:

              #2083628
              Oregon
              Felhasználó
                bepe79 wrote:
                iwconfig, ifconfig, dhcpcd:

                utt az en lsmod-om:

                root:~# lsmod
                Module[code]
                root:~# lsmod
                Module

                #2083629
                Oregon
                Felhasználó

                  futtasd le ezeket:
                  rmmod bcm43xx
                  rmmod bcm43xx_d80211
                  modprobe bcm43xx
                  iwconfig eth1 essid IDE_IRD_BE_AZ_SSID-T
                  dhclient eth1
                  ifconfig
                  # ha nem latod az eth1-et, akkor:
                  ifconfig -a

                  #2083630
                  bepe79
                  Felhasználó
                    Oregon wrote:
                    futtasd le ezeket:
                    rmmod bcm43xx
                    rmmod bcm43xx_d80211
                    modprobe bcm43xx
                    iwconfig eth1 essid IDE_IRD_BE_AZ_SSID-T
                    dhclient eth1
                    ifconfig
                    # ha nem latod az eth1-et, akkor:
                    ifconfig -a

                    OK, probalom maris.

                    #2083631
                    bepe79
                    Felhasználó
                      Oregon wrote:
                      futtasd le ezeket:

                      Megcsinaltam, amiket mondtal, latszolag minden rendben most mar, de meg nem teljesen:

                      root:~# rmmod bcm43xx_d80211
                      root:~# modprobe bcm43xx
                      root:~# iwconfig eth1 essid any
                      root:~# dhclient eth1
                      Internet Systems Consortium DHCP Client V3.0.3-RedHat
                      Copyright 2004-2005 Internet Systems Consortium.
                      All rights reserved.
                      For info, please visit http://www.isc.org/products/DHCP

                      /sbin/dhclient-script: line 96: /etc/sysconfig/network-scripts/network-functions: No such file or directory
                      /sbin/dhclient-script: line 97: /etc/rc.d/init.d/functions: No such file or directory
                      /sbin/dhclient-script: line 104: need_config: command not found
                      /sbin/dhclient-script: configuration for eth1 not found. Continuing with defaults.
                      /sbin/dhclient-script: line 112: source_config: command not found
                      Listening on LPF/eth1/00:16:cf:9d:40:72
                      Sending on  LPF/eth1/00:16:cf:9d:40:72
                      Sending on  Socket/fallback
                      DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
                      DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15
                      DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
                      DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11
                      DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
                      DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
                      No DHCPOFFERS received.
                      No working leases in persistent database – sleeping.
                      /sbin/dhclient-script: line 96: /etc/sysconfig/network-scripts/network-functions: No such file or directory
                      /sbin/dhclient-script: line 97: /etc/rc.d/init.d/functions: No such file or directory
                      /sbin/dhclient-script: line 104: need_config: command not found
                      /sbin/dhclient-script: configuration for eth1 not found. Continuing with defaults.
                      /sbin/dhclient-script: line 112: source_config: command not found
                      root:~#

                      Eddig minden OK.

                      Itt jon utana az ifconfig es az ifconfig -a:

                      root:~# ifconfig
                      eth0      Link encap:Ethernet  HWaddr 00:16:36:A0:F7:18
                                UP BROADCAST MULTICAST  MTU:1500  Metric:1
                                RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                                TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                                collisions:0 txqueuelen:1000
                                RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
                                Interrupt:66 Base address:0xcc00

                      eth1      Link encap:Ethernet  HWaddr 00:16:CF:9D:40:72
                                UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                                RX packets:44 errors:0 dropped:2 overruns:0 frame:0
                                TX packets:89 errors:0 dropped:0 overruns:0 carrier:0
                                collisions:0 txqueuelen:1000
                                RX bytes:6756 (6.5 Kb)  TX bytes:5720 (5.5 Kb)
                                Interrupt:74

                      lo        Link encap:Local Loopback
                                inet addr:127.0.0.1  Mask:255.0.0.0
                                UP LOOPBACK RUNNING  MTU:16436  Metric:1
                                RX packets:489 errors:0 dropped:0 overruns:0 frame:0
                                TX packets:489 errors:0 dropped:0 overruns:0 carrier:0
                                collisions:0 txqueuelen:0
                                RX bytes:39266 (38.3 Kb)  TX bytes:39266 (38.3 Kb)

                      root:~# ifconfig -a
                      eth0      Link encap:Ethernet  HWaddr 00:16:36:A0:F7:18
                                UP BROADCAST MULTICAST  MTU:1500  Metric:1
                                RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                                TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                                collisions:0 txqueuelen:1000
                                RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
                                Interrupt:66 Base address:0xcc00

                      eth1      Link encap:Ethernet  HWaddr 00:16:CF:9D:40:72
                                UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                                RX packets:60 errors:0 dropped:2 overruns:0 frame:0
                                TX packets:103 errors:0 dropped:0 overruns:0 carrier:0
                                collisions:0 txqueuelen:1000
                                RX bytes:8937 (8.7 Kb)  TX bytes:6308 (6.1 Kb)
                                Interrupt:74

                      lo        Link encap:Local Loopback
                                inet addr:127.0.0.1  Mask:255.0.0.0
                                UP LOOPBACK RUNNING  MTU:16436  Metric:1
                                RX packets:489 errors:0 dropped:0 overruns:0 frame:0
                                TX packets:489 errors:0 dropped:0 overruns:0 carrier:0
                                collisions:0 txqueuelen:0
                                RX bytes:39266 (38.3 Kb)  TX bytes:39266 (38.3 Kb)

                      sit0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
                                NOARP  MTU:1480  Metric:1
                                RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                                TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                                collisions:0 txqueuelen:0
                                RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

                      root:~#

                      Es vegul, de nem utolso sorban egy kis segitseg:

                      root:~# dhcpcd eth1
                      root:~# ifconfig
                      eth0      Link encap:Ethernet  HWaddr 00:16:36:A0:F7:18
                                UP BROADCAST MULTICAST  MTU:1500  Metric:1
                                RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                                TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                                collisions:0 txqueuelen:1000
                                RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
                                Interrupt:66 Base address:0xcc00

                      eth1      Link encap:Ethernet  HWaddr 00:16:CF:9D:40:72
                                UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                                RX packets:72 errors:0 dropped:6 overruns:0 frame:0
                                TX packets:140 errors:0 dropped:0 overruns:0 carrier:0
                                collisions:0 txqueuelen:1000
                                RX bytes:11410 (11.1 Kb)  TX bytes:10154 (9.9 Kb)
                                Interrupt:74

                      lo        Link encap:Local Loopback
                                inet addr:127.0.0.1  Mask:255.0.0.0
                                UP LOOPBACK RUNNING  MTU:16436  Metric:1
                                RX packets:498 errors:0 dropped:0 overruns:0 frame:0
                                TX packets:498 errors:0 dropped:0 overruns:0 carrier:0
                                collisions:0 txqueuelen:0
                                RX bytes:39812 (38.8 Kb)  TX bytes:39812 (38.8 Kb)

                      root:~# iwconfig
                      lo        no wireless extensions.

                      eth0      no wireless extensions.

                      sit0      no wireless extensions.

                      eth1      IEEE 802.11b/g  ESSID:off/any  Nickname:”Broadcom 4318″
                                Mode:Managed  Frequency=2.467 GHz  Access Point: 00:03:52:DB:93:20
                                Bit Rate=11 Mb/s  Tx-Power=19 dBm
                                RTS thr:off  Fragment thr:off
                                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

                      root:~# 

                      Ami jo jel, hogy a kde alatt a wirelessmanagerben mar grafikusan zold csikot mutat, csak az ap meg az essid kornyeken nem stimmel valami. Az essd fogalmam nincs, micsoda, ezert any-t adtam neki. Az ap-t meg nem allitottam managed-re, mert defaultban annak kene lennie. Hogyan tovabb?

                      #2083632
                      bepe79
                      Felhasználó

                        Guglival bongeszgetem most a netet, es latom, hogy nem veletlenul szenvedek a bcm43xx-el:

                        http://stanton-finley.net/HP_Pavilion_ZE2108WM.html

                        A sracnak ugyanilyen chip-es wifi kartyaja van, es Fedora alatt sikerult eletre vernie:

                        Wireless LAN driver for Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02):

                        Go to ftp://ftp.support.acer-euro.com/notebook/aspire_3020_5020/driver/ and get ftp://ftp.support.acer-euro.com/notebook/aspire_3020_5020/driver/80211g.zip.

                        If you have not already done so open a terminal and do a „yum install kernel-devel gcc compat-libstdc++-33” as root to provide a build environment as described in the ATI driver section above. (Note that you will not have to do this if you have done the „everything” install. In that case the kernel-devel, gcc and compat-libstdc++-33 packages will already be installed.) Make sure that one of the kernels listed when you run „ls /usr/src/kernels” matches the kernel listed when you do a „uname -rm”. If not do a „yum clean all” followed by a „yum update” as root.

                        Do a „mkdir bcmwl” in your home directory. Unzip 80211g.zip. (Use the command „unzip 80211g.zip.) Go to the 80211g folder that it makes when you unzip it (cd 80211g) and do a „cp bcmwl5.inf bcmwl5.sys ~/bcmwl”.

                        Go to http://sourceforge.net/projects/ndiswrapper/ and download ndiswrapper-1.8.tar.gz. This should save the file to your home folder. If it saves the file to your desktop instead go to your desktop and drag the file into your „Home” folder. (Left mouse click on the file and drag it on top of your „Home” folder while holding the left mouse button down. Then release the mouse button.)

                        Do a „tar xzvf ndiswrapper-1.8.tar.gz” in your home directory.

                        Type „su -„. Hit enter. Type your root password. Hit enter. Type „cd /home/your_user_name/ndiswrapper-1.8”. Hit enter. Type „make”. Hit enter. (Ignore any warnings that you see as they are inconsequential for our purposes.) Type „make install”. Hit enter.

                        As root do a „/usr/sbin/ndiswrapper -i /home/your_user_name/bcmwl/bcmwl5.inf”. This creates /etc/ndiswrapper/bcmwl5/bcmwl5.inf.

                        As root do a „/usr/sbin/ndiswrapper -l” You should see:

                        Installed ndis drivers:
                        bcmwl5          driver present, hardware present

                        As root do „ndiswrapper -m”. You should see:

                        Adding „alias wlan0 ndiswrapper” to /etc/modprobe.conf

                        Go to „Desktop” > „System Settings” > „Network”, type your root password, click on „New” and in the „Select Device Type” dialog select „Wireless connection”. Click „Forward”. In the „Select Wireless Device” dialog select „ndiswrapper (wlan0)”. Click „Forward”. In the „Configure Wireless Connection” dialog fill in your wireless LAN information. Put a „0x” before the hex key for your WEP encryption. Click „Forward”. In the „Configure Network Settings” dialog select „Automatically obtain IP address settings with DHCP or put your info in the appropriate boxes if you have a fixed IP address. Click „Forward”. Click „Apply”. In the „Network Configuration” dialog double click on „wlan0” and fine tune the settings. Be sure to tick the checkbox for „Activate device when computer starts”, then click the „Wireless Settings” tab, select „Auto” in the „Mode” box, select „Specified” under „Network name (SSID)” and type in your SSID, channel and encryption hex key (if you have not already done so) and be sure to preface the hex key with „0x”, select „Auto” in the „Transmit rate:” box. Finally click „ok”. Then in the „Network Configuration” dialog click on the „Activate” button while „wlan0” is selected to activate it. You may want to de-activate your normal Ethernet connection (eth0) at this point by highlighting it, selecting „edit”, unticking the „Activate device when computer starts” checkbox, clicking „ok”, and then disabling it by clicking on the „Deactivate” button while it is still highlighted. Reboot your machine. (Note that you will have to re-build the driver each time you install a new kernel.)

                        Mivel ez nekem kicsit magas, igy azt hiszem a guglival meg a distrowatch-al tovabbra is probalok olyan disztrot keresni, ami alapban felismeri ezt a wlan kartyat, mivel uj laptoprol van szo, es gyakori chiprol es wifi kartyarol. Gondolom hamarosan lesz minden disztroban beepitett driver hozza, addig marad a keresgeles.

                      10 bejegyzés megtekintése - 41-50 / 96
                      • Be kell jelentkezni a hozzászóláshoz.