Find the answer to your Linux question:
Results 1 to 7 of 7
Hi all, same old story. Hi all, I have a netbook computer running Ubuntu Netbook Remix. I have just moved to a new house where the Internet is wireless. I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    6

    Wireless Internet - works on Windows, doesn't work on Ubuntu Netbook remix


    Hi all, same old story.

    Hi all,
    I have a netbook computer running Ubuntu Netbook Remix.
    I have just moved to a new house where the Internet is wireless.
    I have no problem using the Internet when running Windows (my netbook is dual-booted). So it is not an hardware problem.
    While on Windows I made a note about all the connection parameters.

    On Linux, I access the list of wireless connections available.
    I click on the one of my house.

    At that point, there is the 'wireless security' dialog asking me for some information (as the connection is encrypted).
    I selected 'WEP 40/128 bit key'.
    I entered the key
    I tried all the WEP index, from 1 to 4
    As authentication I selected open system

    With those parameters, the connection can't be established.

    So I tried a different route.
    I went to 'Preferences' -> 'Network connection' -> 'Create new wireless connection'.
    I selected:
    MODE: AD-HOC
    MTU: AUTOMATIC
    BSSID: left blank
    MAC address: left blank
    SECURITY: WEP 40/128 bit key
    IPv4 settings METHOD: DHCP (automatic)
    DHCP CLIENT ID: left empty
    ROUTES: left empty

    With those settings I can established a connection with the router but I can't connect to the Internet

    Any idea? How can I debug this?

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Is the Module installed/loaded


    Give the response to the following commands:
    Code:
    ifconfig -a 
    lspci
    New Users, please read this..
    Google first, then ask..

  3. #3
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    As always, you should read forum sticky's.

    http://www.linuxforums.org/forum/wir...tart-here.html

  4. #4
    Just Joined!
    Join Date
    Jan 2009
    Posts
    6
    Sorry, for that. I have read the post and run the script to detect my settings.

    I don't think it is a problem with modules/drivers because this netbook running Ubuntu does work with all the other wireless Internet connections I have tried. It just doesn't work at home!

    Please help me, I am right in the middle of a server migration I have to use Linux and the Internet together. I am just desperate...


    This is the output of the script (I have trimmed the lspci output):

    Code:
    ============ lspci ============
    02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8187SE Wireless LAN Controller [10ec:8199] (rev 22)
    	Kernel driver in use: rtl8180
    	Kernel modules: rtl8187se
    
    ============ lsusb ============
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 003: ID 0bda:0158 Realtek Semiconductor Corp. Mass Stroage Device
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 0c45:62c0 Microdia Pavilion Webcam
    
    ============ lsmod ============
    Module                  Size  Used by
    ipt_MASQUERADE         10752  1 
    xt_state               10112  1 
    ipt_REJECT             11136  2 
    xt_tcpudp              11008  4 
    iptable_filter         10752  1 
    nf_nat_h323            14336  0 
    nf_conntrack_h323      56648  1 nf_nat_h323
    nf_nat_pptp            11136  0 
    nf_conntrack_pptp      14340  1 nf_nat_pptp
    nf_conntrack_proto_gre    13572  1 nf_conntrack_pptp
    nf_nat_proto_gre       10372  1 nf_nat_pptp
    nf_nat_tftp             9600  0 
    nf_conntrack_tftp      12308  1 nf_nat_tftp
    nf_nat_sip             14976  0 
    nf_conntrack_sip       26260  1 nf_nat_sip
    nf_nat_irc             10240  0 
    nf_conntrack_irc       13220  1 nf_nat_irc
    nf_nat_ftp             10752  0 
    nf_conntrack_ftp       15652  1 nf_nat_ftp
    iptable_nat            13700  1 
    nf_nat                 25876  9 ipt_MASQUERADE,nf_nat_h323,nf_nat_pptp,nf_nat_proto_gre,nf_nat_tftp,nf_nat_sip,nf_nat_irc,nf_nat_ftp,iptable_nat
    nf_conntrack_ipv4      21388  4 iptable_nat,nf_nat
    nf_conntrack           72008  18 ipt_MASQUERADE,xt_state,nf_nat_h323,nf_conntrack_h323,nf_nat_pptp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_nat_tftp,nf_conntrack_tftp,nf_nat_sip,nf_conntrack_sip,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,iptable_nat,nf_nat,nf_conntrack_ipv4
    nf_defrag_ipv4          9984  1 nf_conntrack_ipv4
    ip_tables              19600  2 iptable_filter,iptable_nat
    x_tables               23044  6 ipt_MASQUERADE,xt_state,ipt_REJECT,xt_tcpudp,iptable_nat,ip_tables
    arc4                    9856  2 
    ecb                    10752  2 
    i915                   67844  3 
    binfmt_misc            16776  1 
    drm                    96424  4 i915
    ppdev                  15620  0 
    bridge                 56212  0 
    stp                    10500  1 bridge
    bnep                   20224  2 
    input_polldev          11912  0 
    nls_iso8859_1          12032  1 
    nls_cp437              13696  1 
    vfat                   18816  1 
    fat                    58272  1 vfat
    joydev                 18368  0 
    lp                     17156  0 
    parport                42220  2 ppdev,lp
    snd_hda_intel         435252  3 
    snd_pcm_oss            46336  0 
    snd_mixer_oss          22656  1 snd_pcm_oss
    snd_pcm                83076  2 snd_hda_intel,snd_pcm_oss
    snd_seq_dummy          10756  0 
    snd_seq_oss            37760  0 
    snd_seq_midi           14336  0 
    snd_rawmidi            29696  1 snd_seq_midi
    snd_seq_midi_event     15104  2 snd_seq_oss,snd_seq_midi
    snd_seq                56880  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    snd_timer              29704  2 snd_pcm,snd_seq
    snd_seq_device         14988  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    iTCO_wdt               19108  0 
    iTCO_vendor_support    11652  1 iTCO_wdt
    uvcvideo               63368  0 
    intel_agp              34108  1 
    snd                    62756  15 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    compat_ioctl32          9344  1 uvcvideo
    rtl8187se             210204  1 
    agpgart                42696  3 drm,intel_agp
    pcspkr                 10496  0 
    psmouse                61972  0 
    soundcore              15200  1 snd
    videodev               41600  1 uvcvideo
    v4l1_compat            21764  2 uvcvideo,videodev
    serio_raw              13444  0 
    snd_page_alloc         16904  2 snd_hda_intel,snd_pcm
    video                  25872  0 
    output                 11008  1 video
    usb_storage            99648  0 
    r8169                  40836  0 
    mii                    13312  1 r8169
    fbcon                  46112  0 
    tileblit               10752  1 fbcon
    font                   16384  1 fbcon
    bitblit                13824  1 fbcon
    softcursor              9984  1 bitblit
    
    ============ dmesg-firmware ============
    
    ============ kernel version ============
    2.6.28-16-generic
    
    ============ ifconfig ============
    eth0      Link encap:Ethernet  HWaddr 00:21:85:e3:b4:45  
              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:253 Base address:0x4000 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:4 errors:0 dropped:0 overruns:0 frame:0
              TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:240 (240.0 B)  TX bytes:240 (240.0 B)
    
    wlan0     Link encap:Ethernet  HWaddr 00:21:85:b7:21:0b  
              inet addr:10.42.43.1  Bcast:10.42.43.255  Mask:255.255.255.0
              inet6 addr: fe80::221:85ff:feb7:210b/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:115 overruns:0 frame:0
              TX packets:570 errors:13 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:35670 (35.6 KB)
              Interrupt:17 Memory:f7e20000-f7e20100 
    
    
    ============ iwconfig ============
    wlan0     802.11b/g linked  ESSID:"186"  
              Mode:Ad-Hoc  Frequency=2.457 GHz  Cell: 66:9E:8D:4E:04:4E   
              Bit Rate=54 Mb/s   
              Retry:on   RTS thr:off   Fragment thr:off
              Encryption key:1D6A-EC54-F16F-8F55-C846-BDAC-AA   Security mode:open
              Power Management:off
              Link Quality=71/100  Signal level=-46 dBm  Noise level=-102 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0

  5. #5
    Just Joined!
    Join Date
    Jan 2009
    Posts
    6
    I have also find out something interesting at the boot of the system with dmesg

    Code:
    [   10.355616] ieee80211_crypt: registered algorithm 'NULL'
    [   10.355625] ieee80211_crypt: registered algorithm 'TKIP'
    [   10.355630] ieee80211_crypt: registered algorithm 'CCMP'
    [   10.355636] ieee80211_crypt: registered algorithm 'WEP'
    [   10.355642] 
    [   10.355644] Linux kernel driver for RTL8180 / RTL8185 based WLAN cards
    [   10.355650] Copyright (c) 2004-2005, Andrea Merello
    [   10.355655] rtl8180: Initializing module
    [   10.355660] rtl8180: Wireless extensions version 22
    [   10.355665] rtl8180: Initializing proc filesystem
    [   10.355742] rtl8180: Configuring chip resources
    [   10.355769] rtl8180 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    [   10.355784] rtl8180 0000:02:00.0: setting latency timer to 64
    [   10.365778] rtl8180: Channel plan is 2
    [   10.365783] 
    [   10.365789] Dot11d_Init()
    [   10.365800] rtl8180: MAC controller is a RTL8187SE b/g
    [   10.365806] rtl8180: This is a PCI NIC
    [   10.368216] rtl8180: usValue is 0x100
    [   10.368221] 
    [   10.423910] rtl8180: EEPROM version 104
    [   10.428685] rtl8180: WW:**PLEASE** REPORT SUCCESSFUL/UNSUCCESSFUL TO Realtek!
    [   10.438641] Linux agpgart interface v0.103
    [   10.443315] rtl8180: IRQ 17
    [   10.445434] rtl8180: Driver probe completed

    and

    Code:
    [   27.081903] r8169: eth0: link down
    [   27.082275] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   27.083990] rtl8180: Bringing up iface
    [   27.282533] rtl8180: Card successfully reset
    [   28.019105] rtl8180: WIRELESS_MODE_G
    [   28.019110] 
    [   28.036108] ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   28.105447] rtl8180: Setting SW wep key
    [   51.877065] [drm:i915_getparam] *ERROR* Unknown parameter 6
    [   53.588732] [drm:i915_getparam] *ERROR* Unknown parameter 6
    [   57.385069] creating new IBSS cell
    [   57.411912] rtl8180: Enabling beacon TX
    [   57.412188] after sending beacon packet!
    [   57.412976] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [   58.509939] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   58.560461] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
    [   58.562721] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
    [   58.562734] nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
    [   58.562740] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
    [   67.696119] wlan0: no IPv6 routers present

    Instead, when I click my home's wireless connection to try to connect, my dmesg reports:

    Code:
    > [   90.590382] rtl8180: Setting SW wep key
    > [   97.509758] Linking with NETGEAR: channel is 11
    > [   97.550359] Linking with NETGEAR: channel is 11
    > [   97.569763] Associated successfully
    > [   97.569776] Using B rates
    > [   97.616105] StaRateAdaptive87SE(): update init_gain to index 4 for date rate 22
    > [  119.817077] StaRateAdaptive87SE(): update init_gain to index 2 for date rate 22
    > [  148.766184] Linking with NETGEAR: channel is 11
    > [  148.788243] rtl8180: Setting SW wep key
    > [  148.800988] Associated successfully
    > [  148.801007] Using B rates
    > [  150.852136] creating new IBSS cell
    > [  150.879040] rtl8180: Enabling beacon TX
    > [  150.879332] after sending beacon packet!
    If this can help, I am using an Advent 4211

    Thanks,
    Daniele

  6. #6
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Looks like you use the wrong kernel module.

    Try:
    RTL8187SE - Gentoo Linux Wiki
    New Users, please read this..
    Google first, then ask..

  7. #7
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    Quote Originally Posted by RobinVossen View Post
    Looks like you use the wrong kernel module.
    The output of lsmod says that he is using the correct driver.
    Code:
    Module                  Size  Used by
    rtl8187se             210204  1
    Checking the section of Linux wireless.org dealing with this family of drivers, I did find this:
    Unsupported Chips

    * RTL8187SE (0x10ec:0x8199 and 0x10ec:0x8185 REV_22): This device will work with rtl8187se (currently in drivers/staging/), which is the vendor driver converted to compile with a 2.6.29, or later, kernel. A mac80211 version of this kernel is being developed.
    Note the mention of using the 2.6.29 or later kernel. The OP reports using the 2.6.28 kernel.
    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •