Active Topics

 


Reply
Thread Tools
gviterbo's Avatar
Posts: 56 | Thanked: 9 times | Joined on Sep 2009 @ Philippines
#11
i'm having the same problem as well. I need to transfer something to the filesystem through USB but the instructions I found at http://wiki.maemo.org/N900_USB_Networking do not seem to work.

if enter 'ifdown usb0', it gives me an error - /usr/lib/avahi/avahi-daemon-check-dns.sh: line 143: diff: not found.

total newbie here and I would appreciate if anyone here can help me out. thanks a lot!

by the way, I'm trying to access the filesystem through Winscp.
__________________
tech trends for every filipino | gadgetpilipinas.net

take a look at my nokia n900 unboxing photos here and unboxing videos here

my n900 review here.
 
Posts: 292 | Thanked: 131 times | Joined on Dec 2009
#12
I've filed a bug on the issue of Connection Manager not recognizing USB networking and the need of extra hacks.

Please vote here, so that we can have proper USB network support:

https://bugs.maemo.org/show_bug.cgi?id=8207
 

The Following 2 Users Say Thank You to soeiro For This Useful Post:
gviterbo's Avatar
Posts: 56 | Thanked: 9 times | Joined on Sep 2009 @ Philippines
#13
Originally Posted by soeiro View Post
I've filed a bug on the issue of Connection Manager not recognizing USB networking and the need of extra hacks.

Please vote here, so that we can have proper USB network support:

https://bugs.maemo.org/show_bug.cgi?id=8207
I'm on it. I'll vote for this one. They have to make things way way easier for us to expand N900's open-source horizon.
__________________
tech trends for every filipino | gadgetpilipinas.net

take a look at my nokia n900 unboxing photos here and unboxing videos here

my n900 review here.
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#14
Originally Posted by trotor View Post
Did you try Mad Developer? IT has some USB settings through gui.

found this the other day couldnt get it to work for me tho


followed these poor instructions and have no idea how to connect to phones system files thru usb



http://wiki.maemo.org/N900_USB_networking


EDIT:
can connect but it wont accept password...

using mad developer and maemo pc connectivity pack on n900
and winscp on windows xp pc

also i have wifi but phone is plugged into usb

Last edited by F2thaK; 2010-01-20 at 07:21.
 
Posts: 268 | Thanked: 304 times | Joined on Oct 2009 @ Orlando, USA
#15
Originally Posted by f2thak View Post
can connect but it wont accept password...
Are you connecting as 'user' or 'root'? If using 'root', you must use the same password you chose when installing SSH on the N900.
 
Posts: 99 | Thanked: 24 times | Joined on Feb 2010
#16
this is me trying to get usb networking to work between N900 and XP http://talk.maemo.org/showpost.php?p=540514&postcount=9.
 
Posts: 99 | Thanked: 24 times | Joined on Feb 2010
#17
 
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#18
Originally Posted by a1291762 View Post
Hmm... I found a workaround, based on an idea from this thread:
http://talk.maemo.org/showthread.php?p=395452

The advice there is to connect to some kind of connection and then bring up the USB connection. What this does is to affect the route order. I have an automatic version of this workaround that simply removes the unwanted route.

In my case, there's a WLAN connection I can connect to but it's not reliable for actual use. The script also works with a 3G/EDGE connection.

I created /etc/network/if-up.d/99_fix_routes which will run every time a new interface comes up.

Code:
#!/bin/sh

interface="$2"

if [ "$interface" = "usb0" ]; then
    route delete default wlan0
    route delete default gprs0
else
    if ping -c 1 192.168.2.14 >/dev/null 2>&1; then
        route delete default wlan0
        route delete default gprs0
    fi
fi

exit 0
If the USB interface comes up, it removes the default route through the wlan0/gprs0 interfaces (ie. disables traffic through WLAN/EDGE/3G). If some other connection comes up, it pings the USB host and if it's there, it deletes the default route through wlan0/gprs0.

I don't know why GPRS, EDGE and 3G all use the gprs0 device...

This seems to work fine for me but it is still a workaround. What if there was no phone network or wifi point to connect to but you had a computer using some satelite connection setup for USB networking? What I'm saying is that a proper fix would be better than this workaround.
Hi,

Should this line give me the argument you are trying to insert into "interface" and throw it into a file if I put it inside the script?

"echo $2 > /etc/network/if-up.d/temp"

cause it gives me an empty temp file, something is not working very well with the script and I am trying to figure out what.
 
Posts: 99 | Thanked: 24 times | Joined on Feb 2010
#19
Originally Posted by eitama View Post
Hi,

Should this line give me the argument you are trying to insert into "interface" and throw it into a file if I put it inside the script?

"echo $2 > /etc/network/if-up.d/temp"

cause it gives me an empty temp file, something is not working very well with the script and I am trying to figure out what.
you might like to have a look at the way i do it in http://talk.maemo.org/showthread.php?t=39738 i now have it working everyday in my office where there's no wifi.
 
Posts: 24 | Thanked: 9 times | Joined on Nov 2010 @ Penang/Malaysia
#20
Anyone having any luck for ubuntu 10.04?
__________________
My blog
MY BLOG
--My brain lights up best in the toilet--
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:16.