Active Topics

 


Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on Apr 2010
#1
It doesn't seem like the RNDIS driver is working for me anymore on Windows 7 x64, even the supposed x64 driver listed at (http://wiki.forum.nokia.com/index.ph...ndows_7_64-bit).

Has anyone been able to get USB networking to work on Windows 7 X64? I get the RNDIS adapter to show up in the network adapter list, but its greyed out and disabled (not unplugged, but disabled) and cannot start.
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#2
i suspect the .inf file they've supplied there is wrong.
i made one a few months ago and it's working fine
it's available on this other wiki:

http://wiki.maemo.org/N900_USB_networking

if you compare the differences of the two inf files, it looks like they've missed the AMD64 support, or something. I followed the microsoft document on creating x64 inf files to convert the original one.

http://appcheck.net/storage/Nokia900...et%20RNDIS.inf
Attached Files
File Type: txt compare.txt (14.1 KB, 561 views)

Last edited by Creamy Goodness; 2011-03-25 at 17:13.
 

The Following User Says Thank You to Creamy Goodness For This Useful Post:
Posts: 7 | Thanked: 2 times | Joined on Sep 2010 @ Gothenburg, Sweden
#3
I have problems with this too.
The device is set up properly, as USB networking functions perfectly under Linux ( Ubuntu 10.10 ).
Neither an XPSP2 or a Win7 64-bit installation gives me a configuration. In both cases, there is never a "new device" to be added and there is no RNDIS driver set up.
I see several interfaces set up, like:

; 0421:0105 "Nokia BB5 ADL Loader USB Generic"
; 0421:0106 "Nokia USB Flashing parent"
; 0421:0106 "Nokia USB Flashing Generic"
; 0421:01C8 "Nokia N900 USB Phonet"
; 0421:01C8 "Nokia N900 USB Phonet Parent"
; 0421:01C8 "Nokia N900 USB OBEX"
; 0421:01C8 "Nokia N900 USB OBEX"

But none of these are configured for USB networking. I think this may be a driver conflict, but I have no clue about where to look. It is just deeply frustrating that the functionality is so easily accessed under Linux, and that I have so much trouble setting it up under Windows.

There just must be somebody else with this problem ...

//
 
Zas's Avatar
Posts: 196 | Thanked: 113 times | Joined on Jun 2010 @ Finland
#4
I've never been able to get usb networking on my win7 64bit so I use bluetooth networking instead. Its just enabling bluetooth network on the n900 once and then connect it to the pc and run scripts to set up ips for both.
 
Posts: 309 | Thanked: 456 times | Joined on Jan 2010
#5
On your N900, install 'MAD Developer', and enable windows usb networking
Once the USB networking module is loaded, and PC suite mode selected, the Windows machine picks up the USB network device - at this point manually select the RNDIS driver from Creamy Goodness' post
http://appcheck.net/storage/Nokia900...et%20RNDIS.inf

DHCP does not pickup a default gateway, so the IP address on the PC needs to be manually configured
eg
IP 192.168.2.14
SN 255.255.255.0
GW: 192.168.2.15
DNS 192.168.2.15


On your N900, edit '/usr/sbin/pcsuite-enable.sh', add the following above exit 0:
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -F POSTROUTING
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
iptables -t nat -A POSTROUTING -o gprs0 -j MASQUERADE
ifup usb0
dnsmasq -I lo -z -a 192.168.2.15 -F 192.168.2.14,192.168.2.30
Also, edit '/usr/sbin/pcsuite-disable.sh, add the following above exit 0:
Code:
killall udhcpd
ifdown usb0
echo 0 > /proc/sys/net/ipv4/ip_forward
iptables -F
iptables -t nat -F
Now the network will be forwarded every time you connect by USB.
On disconnection - switch the connection back to Mass Storage to unload the USB Networking library.

Last edited by [DarkGUNMAN]; 2012-01-27 at 12:15.
 

The Following 3 Users Say Thank You to [DarkGUNMAN] For This Useful Post:
Posts: 309 | Thanked: 456 times | Joined on Jan 2010
#6
Post updated with extra info to ensure connection.
 
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#7
Originally Posted by [DarkGUNMAN] View Post
Install MAD Developer, and enable windows usb networking
There is a solution without MAD ?
To install a full developer enviroment only to get network access it seems a bit exaggerated
 
Posts: 309 | Thanked: 456 times | Joined on Jan 2010
#8
Installing MAD Developer on the N900 was the only way I have seen the driver for RNDIS detect correctly on the Windows PC - it does not rely on kernel-power either so stock kernel will work fine.

It seems the easiest way to get the network driver loaded and unloaded on the N900 from a user point of view (at least for me)
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:51.