Reply
Thread Tools
Posts: 122 | Thanked: 2 times | Joined on Jul 2010 @ Latvia, Ireland
#1
Hello !
I have tried lots of things and the steps u need to do to get internet working on n900 with USB ! ,but still can't get internet working on my n900 with USB !
I have downloaded Mad-Developer !!
But still can't get the internet working
  1. Or probarly I do someting wrong with mad-developer !
  2. Or there is something more I need to do !
Help please maybe ur the one who can help me and tell me step by step to get this woking properly !!

Also check-out this - http://talk.maemo.org/showthread.php?t=58742
I have done what this guy says "ivyking" but still can't get internet working !!
Maybe he had missed something "ivyking"
Or u can explain me more desriptive to make me understand well !
Thank u very much !
I will appreciate ur replies !

Last edited by n0ak; 2010-07-22 at 07:20.
 
PathFinder@9GS's Avatar
Posts: 164 | Thanked: 79 times | Joined on Jul 2010
#2
You just need internet right, I don't think you need to use MAD developer for that
You can always use PC suite or create a dial up connection yourself.
Connect ur n900 to ur pc, select the PC suite mode and use the PC suite to connect to the internet.
This would do in-case you are just looking to run internet through usb.

Edit : I suppose you are talking the other way around In that case, it would be sth to try out first cos I haven't tried before. Lemme see

Last edited by PathFinder@9GS; 2010-07-22 at 07:41.
 
PathFinder@9GS's Avatar
Posts: 164 | Thanked: 79 times | Joined on Jul 2010
#3
another not-so-simple way I can think of right now is...
get a cheap wifi dongle( if u are already using wifi on ur pc to connect to internet) and setup a adhoc network through your pc with that dongle.
Thts it.
You wil have a wireless network setup and use that for your n900
 
Posts: 122 | Thanked: 2 times | Joined on Jul 2010 @ Latvia, Ireland
#4
Originally Posted by PathFinder@9GS View Post
another not-so-simple way I can think of right now is...
get a cheap wifi dongle( if u are already using wifi on ur pc to connect to internet) and setup a adhoc network through your pc with that dongle.
Thts it.
You wil have a wireless network setup and use that for your n900
I made ad-hoc already but doesnt work cos of PR 1.2 update !!
Only windows 7 conectify!! Is gr8 for ad-hoc
 
PathFinder@9GS's Avatar
Posts: 164 | Thanked: 79 times | Joined on Jul 2010
#5
I'm not sure what you mean by the last line.
But yeah I just checked , you're right , I dont think n900 reads any adhoc anymore.
I'll see If terminal can read anything different than what is displayed in available connections
 
Posts: 15 | Thanked: 15 times | Joined on Dec 2009 @ Brisbane, Australia
#6
All the info you need should be on the wiki page (http://wiki.maemo.org/N900_USB_networking). I used that no probs but I have a Linux desktop. What OS do you run on your desktop?

If you're having problems with the device-side setup, here's my condensed instructions (I made these because I've had to rebuild my N900 a few times already) which are based on the wiki page.

Connect to a network (Wifi/3G) to install required software: rootsh, openssh.
Connect via USB and select PC Suite mode.
Run X-Terminal: sudo gainroot then ifup usb0.
Confirm that you can login via SSH.

On the device:
edit /etc/network/interfaces:
Code:
	up route del default
	up route add default gw 192.168.2.14
        up run-standalone.sh dbus-send --type=method_call --system --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:DUMMY uint32:0
        down run-standalone.sh dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.disconnect boolean:true
Run those route commands now.
Verify that you can ping a server on the internet (traffic is going out via USB cable).
Create /etc/apt/sources.list:
Code:
deb http://repository.maemo.org/extras-testing/ fremantle free non-free 
deb http://repository.maemo.org/extras-devel/ fremantle free non-free
Install some required bits and set them up:
Code:
apt-get update
apt-get install libicd-network-null
gconftool-2 -s -t string /system/osso/connectivity/IAP/DUMMY/type DUMMY
gconftool-2 -s -t string /system/osso/connectivity/IAP/DUMMY/name "Dummy Network"
gconftool-2 -s -t boolean /system/osso/connectivity/IAP/DUMMY/autoconnect false
Edit /usr/sbin/pcsuite-*:
Before the exit 0 line at the end add ifup usb0 or ifdown usb0 depending on the script.
Edit /etc/resolv.conf
Code:
# Google DNS
nameserver 8.8.8.8
nameserver 8.8.4.4
MAC address fixing:
Code:
echo options g_nokia host_addr=00:11:22:33:44:55 > /etc/modprobe.d/g_nokia
Turn off extras-devel in /etc/apt/sources.list.
Run apt-get update

If you get to something that doesn't work, please reply letting me know which step failed. If it's that you can't ping after running the route commands your desktop machine isn't setup right.
 

The Following 3 Users Say Thank You to a1291762 For This Useful Post:
The_Solutor's Avatar
Posts: 142 | Thanked: 49 times | Joined on Oct 2009 @ Italy
#7
n0ak

You have to:

#1 unload any g_nokia and g_storage_file modules eventually present

#2 load the module g_ether (and install the related driver in windows)

#3 bring up and configure the usb0 network adapter

If you want to share the 3g connection you ave also
to

#4 enable the ip forwarding

#5 set the iptables roule[s]

#6 configure statically the ip/gw/dns on the pc side or (better) configure dnsmasq on the n900 to act as DHCP/DNS server.


P.S. You need the power kernel to use iptables,

If you don't need the Internet sharing, you can use the stock kernel but you need the mad deveper package which provide the g_ether module
 

The Following User Says Thank You to The_Solutor For This Useful Post:
Posts: 122 | Thanked: 2 times | Joined on Jul 2010 @ Latvia, Ireland
#8
Originally Posted by a1291762 View Post
All the info you need should be on the wiki page (http://wiki.maemo.org/N900_USB_networking). I used that no probs but I have a Linux desktop. What OS do you run on your desktop?
Windows Vista !
thank u very much I will try!

Last edited by n0ak; 2010-07-22 at 08:53.
 
Banned | Posts: 3 | Thanked: 3 times | Joined on Jul 2010 @ England
#9
Originally Posted by The_Solutor View Post
n0ak

You have to:

#1 unload any g_nokia and g_storage_file modules eventually present

#2 load the module g_ether (and install the related driver in windows)

#3 bring up and configure the usb0 network adapter

If you want to share the 3g connection you ave also
to

#4 enable the ip forwarding

#5 set the iptables roule[s]

#6 configure statically the ip/gw/dns on the pc side or (better) configure dnsmasq on the n900 to act as DHCP/DNS server.


P.S. You need the power kernel to use iptables,

If you don't need the Internet sharing, you can use the stock kernel but you need the mad deveper package which provide the g_ether module
Can u wrie more desriptive please !
Please !
I will be very thankful!
 
Posts: 122 | Thanked: 2 times | Joined on Jul 2010 @ Latvia, Ireland
#10
Originally Posted by har4oo2 View Post
Can u wrie more desriptive please !
Please !
I will be very thankful!
Yeah ! that would be very perfect !
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:09.