LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   did anybody get a smc 2602w v3 to run yet? (https://www.linuxquestions.org/questions/linux-wireless-networking-41/did-anybody-get-a-smc-2602w-v3-to-run-yet-161972/)

ereus 04-24-2005 02:28 PM

Quote:

Originally posted by ralf790
no, i have not forgotten it, but the insmod is in install.txt before the mknod, so this shouldn't be the reason.

I have compiled everything on a second server, fresh installed debian woody, there happens something else during the insmod:
NAUTILUS ------------------------------------------------
NAUTILUS Build Name : AMD - Nautilus Linux driver
NAUTILUS Build Number : 0000
NAUTILUS Build Time : 08/29/2003 00:00:00
NAUTILUS Build User : customer
NAUTILUS Build Comment :
NAUTILUS Build Architecture : x86
NAUTILUS Build Kernel Version: 2.4.25
NAUTILUS Calculated CPU speed: 299565254 Hz
NAUTILUS ------------------------------------------------
PCI: Found IRQ 5 for device 00:0f.0
IRQ routing conflict for 00:0f.0, have irq 7, want irq 5
KNET Success registering device "eth1"
MACKERNEL <=== jsdlInit (failed: init function unnsuccessful)
NAUTILUS Could not add the device 0

It has now the correct kernel version and at the second insmod i have the same problem again.

Well, i will buy probably until 20:00 a new card and will use this at the pc of my girl-friend (=win2k) ;)

Hello,
In my system dmesg do the next information:

divert: no divert_blk to free, eth1 not ethernet
KTHREAD unable to signal thread
NAUTILUS ------------------------------------------------
NAUTILUS Build Name : AMD - Nautilus Linux driver
NAUTILUS Build Number : 0000
NAUTILUS Build Time : 08/29/2003 00:00:00
NAUTILUS Build User : customer
NAUTILUS Build Comment :
NAUTILUS Build Architecture : x86
NAUTILUS Build Kernel Version: 2.4.30
NAUTILUS Calculated CPU speed: 701247135 Hz
NAUTILUS ------------------------------------------------
PCI: Found IRQ 11 for device 00:0a.0
divert: not allocating divert_blk for non-ethernet device eth1
KNET Success registering device "eth1"
MACHAL Function pointer call uses Version: HW_VERSION_BASIC with HW parameters:
MACHAL --- MAC HW Version : 301C0211
MACHAL --- EEPROM Version Data : 00000000
MACHAL --- BBP HW Version : 432E3030
MACHAL --- PHY (Rfe) HW Version: 000000C2
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx timed out, cable problem? TSR=0x16, ISR=0x0, t=24.

I don't know how can I solve this problem. I am a RH system with 2.4.30 kernel.
And when starts linux I see:
eth1:unknown interface: device don't exists
rmmod: module Nautilus is not loaded

stelli 04-26-2005 06:43 PM

This works for Suse 8.2:

Compile as described above.

/lib/modules/2.4.20-4GB/wlan-ng/Nautilus.o

type Nshell
Nshell is /usr/sbin/Nshell

mknode as described above

modules.conf:alias eth1 Nautilus

Message at boot time:

NAUTILUS ------------------------------------------------
NAUTILUS Build Name : AMD - Nautilus Linux driver
NAUTILUS Build Number : 0000
NAUTILUS Build Time : 08/29/2003 00:00:00
NAUTILUS Build User : customer
NAUTILUS Build Comment :
NAUTILUS Build Architecture : x86
NAUTILUS Build Kernel Version: 2.4.20-4GB
NAUTILUS Calculated CPU speed: 1002280049 Hz
NAUTILUS ------------------------------------------------
PCI: Found IRQ 9 for device 00:09.0
KNET Success registering device "eth1"
MACHAL Function pointer call uses Version: HW_VERSION_BASIC with HW parameters:
MACHAL --- MAC HW Version : 301C0211
MACHAL --- EEPROM Version Data : 00000000
MACHAL --- BBP HW Version : 432E3030
MACHAL --- PHY (Rfe) HW Version: 000000C2

Join the wlan access point

/etc/rc.d # cat twireless
#!/usr/bin/expect

set timeout 10

spawn Nshell
expect {
timeout {set ERROR 1
exit $ERROR}
"SUCCESS" {send "\r"}}
expect "nsh> " {send "MLME MLME_GET.request(dot11FragmentationThreshold)\r"}
expect "confirm" {send "MLME MLME_GET.request(dot11RTSThreshold)\r"}
expect "SUCCESS" {send "MLME MLME_GET.request(dot11StationID)\r"}
expect "SUCCESS" {send "MLME MLME_RESET.request(xx:xx:xx:xx:xx:xx,TRUE)\r"}
expect "SUCCESS" {send "MLME MLME_SCAN.request(ANY_BSS,FF:FF:FF:FF:FF:FF,\"\", ACTIVE,10,\[11\],1000,3000)\r"}
#sleep 5
#expect "SUCCESS" {send "\r"}
#sleep 5
#expect {send "\r"}
expect "SUCCESS" {send "MLME MLME_JOIN.request((xx:xx:xx:xx:xx:xx, \"XXXXXXXX-ID\", INFRASTRUCTURE, 100, 1, 0x0000000000000000, 0x0000000000000000, (11), (0,0,0,0), (0), 0x0001, \[2,4,11,22\]), 10, 10, \[2,4,11,22\])\r"}
expect "SUCCESS" {send "MLME MLME_AUTHENTICATE.request(xx:xx:xx:xx:xx:xx, OPEN_SYSTEM, 1000)\r"}
expect "SUCCESS" {send "MLME MLME_ASSOCIATE.request(xx:xx:xx:xx:xx:xx, 1000, 0x0001,1)\r"}
expect "SUCCESS" {send "MLME MLME_POWERMGT.request(ACTIVE, FALSE, TRUE)\r"}
# expect "SUCCESS"
expect "SUCCESS" {send "quit\r"}
# MLME MLME_JOIN.request((xx:xx:xx:xx:xx:xx, \"XXXXXXXX-ID\", INFRASTRUCTURE, 100, 1, 0x0000000000000000, 0x0000000000000000, (11), (0,0,0,0), (0), 0x0001, \[2,4,11,22\]), 10, 10, \[2,4,11,22\])

expect script gives currently no error code if it fails.

eth1 is configured wiht yast without dhcp.

Quick an dirty but it works.

ereus 04-27-2005 04:14 AM

I need start HttpServer, search and then it runs.
I've uninstall and return this card and I have bought another card that is cheaper

S_Assassin 08-23-2005 11:31 AM

Any progress on this?

I tried a while ago with this card, but now it's lying in a box beneath some dust...

just using UTP right now

I'd really like to try it agian

Arizona_Inc 11-05-2005 04:46 PM

Example Expect Script
 
Here is my modified version, for posterity. Hopefully it will help someone else (or failing that, myself, when I lose the original!)

#!/usr/bin/expect

# simple script that calls the Nautilus network driver configuration
# shell and configures the driver.

# script returns >=1 on failure and 0 on success

# these are decombobulators
set HEXZERO 0x0000000000000000
set RESET "MLME MLME_RESET.request"
set SET "MLME MLME_SET.request"
set SCAN "MLME MLME_SCAN.request"
set JOIN "MLME MLME_JOIN.request"
set AUTH "MLME MLME_AUTHENTICATE.request"
set ASSOC "MLME MLME_ASSOCIATE.request"
set PWR "MLME MLME_POWERMGT.request"

# enter your card's mac id here
set MAC 00:00:00:00:00:00
# set the mac id of your base station
set BSS 00:00:00:00:00:00
# channels to search, e.g. 1,2,3,4,5,6,7
set CHANNELS 7
# channel to join, e.g. 1
set CHANNEL 7
# set your network's name here
set SSID "NETGEAR"
# these are usual defaults
set MODE INFRASTRUCTURE
set TYPE OPEN_SYSTEM
set dot11FragmentationThreshold 2346
set dot11RTSThreshold 2347
set dot11ShortPreambleOptionImplemented FALSE
# set the WEP keys
set dot11PrivacyInvoked TRUE
set dot11WEPDefaultKeyID 0
set dot11WEPDefaultKeyValue1 41:50:CA:45:83:43:92:63:16:12:B0:F6:3C
set dot11WEPDefaultKeyValue2 41:50:CA:45:83:43:92:63:16:12:B0:F6:3C
set dot11WEPDefaultKeyValue3 41:50:CA:45:83:43:92:63:16:12:B0:F6:3C
set dot11WEPDefaultKeyValue4 41:50:CA:45:83:43:92:63:16:12:B0:F6:3C

set timeout 10

spawn Nshell
expect {
timeout {
set ERROR 1
exit $ERROR
}
SUCCESS {send "\r"}
}

expect "nsh> " { send "$RESET ($MAC, TRUE)\r" }
expect SUCCESS { send "$SET (dot11FragmentationThreshold,$dot11FragmentationThreshold)\r" }
expect SUCCESS { send "$SET (dot11RTSThreshold,$dot11RTSThreshold)\r" }
expect SUCCESS { send "$SET (dot11ShortPreambleOptionImplemented, $dot11ShortPreambleOptionImplemented)\r" }
expect SUCCESS { send "$SET (dot11PrivacyInvoked,$dot11PrivacyInvoked)\r" }
expect SUCCESS { send "$SET (dot11WEPDefaultKeyID,$dot11WEPDefaultKeyID)\r" }
expect SUCCESS { send "$SET (dot11WEPDefaultKeyIndex,1)\r" }
expect SUCCESS { send "$SET (dot11WEPDefaultKeyValue,$dot11WEPDefaultKeyValue1)\r" }
expect SUCCESS { send "$SET (dot11WEPDefaultKeyIndex,2)\r" }
expect SUCCESS { send "$SET (dot11WEPDefaultKeyValue,$dot11WEPDefaultKeyValue2)\r" }
expect SUCCESS { send "$SET (dot11WEPDefaultKeyIndex,3)\r" }
expect SUCCESS { send "$SET (dot11WEPDefaultKeyValue,$dot11WEPDefaultKeyValue3)\r" }
expect SUCCESS { send "$SET (dot11WEPDefaultKeyIndex,4)\r" }
expect SUCCESS { send "$SET (dot11WEPDefaultKeyValue,$dot11WEPDefaultKeyValue4)\r" }
expect SUCCESS { send "$SCAN (ANY_BSS,FF:FF:FF:FF:FF:FF,\"$SSID\",ACTIVE,10,\[$CHANNELS\],1000,3000)\r" }
expect SUCCESS { send "$JOIN (($BSS,\"$SSID\",$MODE,100,1,$HEXZERO,$HEXZERO,($CHANNEL),(0,0,0,0),(0),0x0001,\[2,4,11,22\]),10,10,\[2,4,11,22\])\r" }
expect SUCCESS { send "$AUTH ($BSS,$TYPE,1000)\r" }
expect SUCCESS { send "$ASSOC ($BSS,1000,0x0001,1)\r" }
expect SUCCESS { send "$PWR (POWER_SAVE,FALSE,TRUE)\r" }
expect {
SUCCESS { send "quit\n" }
FAILED {
set ERROR 2
{ send "quit\n" }
exit $ERROR
}
}

exit 0

# TODO
# check Nautilus is present
# parse the results of the SCAN action
# run dhclient on the appropriate interface


All times are GMT -5. The time now is 04:10 AM.