×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    1

    Problem of install nokia_c110 on linux

    My system is Debian Woody 3.0, and my kernel and gcc version like this:

    san:/tmp# uname -a
    Linux san 2.4.19 #2 12 4 22:29:24 CST 2002 i686 unknown
    san:/tmp# gcc -v
    Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
    gcc version 2.95.4 20011002 (Debian prerelease)
    san:/tmp# grep RADIO /usr/src/linux/.config
    CONFIG_NET_RADIO=y
    CONFIG_NET_PCMCIA_RADIO=y

    Below is my install step:

    san:/tmp# tar xzf nokia_c110-linux-2.05-bin.tar.gz
    san:/tmp# tar xzf nokia_c110-linux-2.05.tar.gz
    san:/tmp# cd nokia_c110
    san:/tmp/nokia_c110# cp config.mk.orig config.mk

    edit config.mk like this:

    LINUX = /usr/src/linux
    OS_RELEASE=2.4.19
    ROOTDIR=/
    SMAC=smac113.bin

    # Compiler Settings

    CROSS_COMPILE=

    LD = $(CROSS_COMPILE)ld
    CC = $(CROSS_COMPILE)gcc
    AR = $(CROSS_COMPILE)ar
    RANLIB = $(CROSS_COMPILE)ranlib

    I edit src/Makefile and uncomment OPTIONS = -DD_DEBUG, then following:

    san:/tmp/nokia_c110# make all
    san:/tmp/nokia_c110# make config_all
    san:/tmp/nokia_c110# make install

    All is fine. Then I edit /etc/pcmcia/nokia_c110.opts like this:

    case "$ADDRESS" in
    *,*,*,*)

    # Operating mode, infra/adhoc

    #MODE=adhoc
    MODE=infra
    SCAN_CMD=manager_wlan

    # Common options for infra and adhoc

    CONFIG_CMD=config # This command is always executed
    SCANDELAY=5 # Wait time for the scan to complete
    #JOIN_CMD=join # The join command
    #NETWORK_START=yes # Do we want to run the network start scripts

    # Infra options
    # To enable roaming set roam=yes in your scan command

    #SCAN_INFRA=scan_infra

    # Adhoc options

    #CREATE_BSS=no # Start always a new BSS
    #CREATE_IF_JOIN_FAILS=yes # If scan fails we can start a new BSS

    #CREATE_CMD=create_infra # The command that starts a new BSS
    #SCAN_ADHOC=scan_adhoc

    ;;
    esac

    Edit /etc/pcmcia/dctl.opts like this:

    *config
    [config]
    country=China
    authentication_type=open
    authentication_timeout=30
    authentication_retries=3
    association_timeout=30
    association_listen=20
    association_retries=4

    *manager_wlan
    [scan]
    bsstype=infra
    scantype=passive
    hidden=yes
    bssid=ff:ff:ff:ff:ff:ff
    Channels=1
    rate=4
    probedelay=10
    mintime=50
    maxtime=300
    use_ssid=1
    ssid=nsfocus
    roam=yes
    excluderates=2,4

    And I install pcmcia_cs, wireless tools:

    san:/# apt-get install pcmcia-cs wireless-tools

    So I restart my pcmcia:

    san:/# /etc/init.d/pcmcia stop
    san:/# /etc/init.d/pcmcia start

    My /var/log/messages and kernel print like this:

    Dec 6 15:56:21 san kernel: C110: ----------------------------------------------------------------
    Dec 6 15:56:21 san kernel: C110: - Nokia C110/C111 WLAN Card Driver.
    Dec 6 15:56:21 san kernel: C110: - Version 2.05 (Wed Oct 30 13:19:46 EET 2002).
    Dec 6 15:56:21 san kernel: C110: ----------------------------------------------------------------
    Dec 6 15:56:21 san kernel: C110_Debug(d_init_module): ** Debug messages are Enabled.
    Dec 6 15:56:21 san kernel: C110(d_driver_attach): Card Inserted. Initializing...
    Dec 6 15:56:22 san kernel: C110_Debug(dllc_register): Registered netdev 'eth1'.
    Dec 6 15:56:22 san kernel: C110_Debug(d_driver_config): d_driver_config(0xc53ae780)
    Dec 6 15:56:22 san kernel: C110_Debug(d_driver_config): Card type Nokia C110/C111
    Dec 6 15:56:22 san kernel: C110(d_driver_config): Config: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x010f
    Dec 6 15:56:22 san kernel: C110_Debug(ddev_register): Character device got major 253
    Dec 6 15:56:22 san kernel: C110_Debug(ddev_register): ddev_register done
    Dec 6 15:56:22 san kernel: C110_Debug(d_driver_attach): Module initialization complete.
    Dec 6 15:56:22 san kernel: C110_Debug(wld_open): CHRDEV OPEN 253:0
    Dec 6 15:56:22 san kernel: C110: Regional domain changed to 30 (China)
    Dec 6 15:56:22 san kernel: C110_Debug(wld_release): CHRDEV Close.

    It seems fine, my card is on:

    san:/# ifconfig -a
    eth0 Link encap:Ethernet HWaddr 00:10:60:76:2E:83
    inet addr:192.168.5.121 Bcast:192.168.5.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1407 errors:0 dropped:0 overruns:0 frame:0
    TX packets:533 errors:0 dropped:0 overruns:0 carrier:0
    collisions:35 txqueuelen:100
    RX bytes:1051260 (1.0 MiB) TX bytes:49804 (48.6 KiB)
    Interrupt:11 Base address:0x4800

    eth1 Link encap:Ethernet HWaddr 00:E0:03:05:54:72
    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:100
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

    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:12 errors:0 dropped:0 overruns:0 frame:0
    TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1344 (1.3 KiB) TX bytes:1344 (1.3 KiB)

    But i cann't use ip address on the card :-(

    san:/# ifconfig eth1 192.168.5.81 up

    My /var/log/messages and kernel print like this:

    Dec 6 16:01:30 san kernel: C110_Debug(dllc_devset_multicast_list): NULL parameters
    Dec 6 16:01:30 san kernel: C110_Debug(dllc_devset_multicast_list): eth1: setting multicast Rx mode 1003 to 1 addresses.
    Dec 6 16:01:30 san kernel: C110_Debug(dllc_devset_multicast_list): Multicast MAC: 01:00:5e:00:00:01
    Dec 6 16:01:30 san kernel: C110_Debug(dllc_devset_multicast_list): eth1: setting multicast Rx mode 1003 to 1 addresses.
    Dec 6 16:01:30 san kernel: C110_Debug(dllc_devset_multicast_list): Multicast MAC: 01:00:5e:00:00:01
    Dec 6 16:01:30 san kernel: C110_Debug(dllc_devset_multicast_list): eth1: setting multicast Rx mode 1003 to 1 addresses.
    Dec 6 16:01:30 san kernel: C110_Debug(dllc_devset_multicast_list): Multicast MAC: 01:00:5e:00:00:01

    I cann't use eth1!
    I can use this nokia_c110 finly on w2k, but i can't use it on linux. I'm a newbie on wireless, I need anybody help me, thank you!

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    452

    RE: Problem of install nokia_c110 on linux

    Hello,

    Unfortunately, Nokia C11x drivers are supported on RedHat only and we cannot guarantee 100% functionality on Debian. Try to search the Linux and Debian cases on this forum with the search engine. Maybe you could find some help from those to your case. Also, maybe other developers here would share their ideas how to solve the problem it would certainly be appreciated.


    Best Regards,

    Nokia D211 Support

Posting Permissions

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