maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Ethernet Wired Connection Possible??? (https://talk.maemo.org/showthread.php?t=5518)

ArchiMark 2007-03-27 19:04

Ethernet Wired Connection Possible???
 
Greetings,

Just discovered this site....

Don't have Nokia N800 yet....but thinking about it.... ;)

One question I have is whether it's possible to connect to internet using wired internet connection instead of WiFi?

If so, what would I use to make connection? For example, I use Socket 10/100 ethernet CF card now in my Zaurus for this...but there's no CF card slot in N800....

I know that the great thing about N800's is WiFi but at work, I can't use WiFi, just ethernet connection...so that's really important to me to have that option if I want....

Thanks for any and all input!

Mark

SeRi@lDiE 2007-03-27 19:08

Re: Ethernet Wired Connection Possible???
 
Maybe in USB host mode but still I don see it happening... There is no available slot for any external card that can be recognise devices...

In any case you can buy your self a small bridge... I own a asus that I take with me when I travel.

SeRi@lDiE 2007-03-27 19:09

Re: Ethernet Wired Connection Possible???
 
By the way you have some pics on your HP Jornada 728/Debian (for sale...)
????

:D

Karel Jansens 2007-03-27 19:35

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by ArchiMark (Post 41416)
Greetings,

Just discovered this site....

Don't have Nokia N800 yet....but thinking about it.... ;)

One question I have is whether it's possible to connect to internet using wired internet connection instead of WiFi?

If so, what would I use to make connection? For example, I use Socket 10/100 ethernet CF card now in my Zaurus for this...but there's no CF card slot in N800....

I know that the great thing about N800's is WiFi but at work, I can't use WiFi, just ethernet connection...so that's really important to me to have that option if I want....

Thanks for any and all input!

Mark

There is, as of now, no way to get a wired network connection with a N800. You might, with judicious (hah!) use of drill/dremel and superglue, get an ethernet cable into your N800, but other than ruining your Numpc, you'll have achieved nothing.

You could spend money to buy one of those portable ethernet-to-wifi routers, or get a cheap dataplan for your bluetooth-enabled phone, but that's about it.

So there...

ArchiMark 2007-03-27 19:42

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by SeRi@lDiE (Post 41420)
By the way you have some pics on your HP Jornada 728/Debian (for sale...)
????

:D

Yes, I can send you some now if you let me know where to send them...PM me your email address??

Also, thanks for the tip about the bridge!

ArchiMark 2007-03-27 19:44

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by Karel Jansens (Post 41434)
There is, as of now, no way to get a wired network connection with a N800. You might, with judicious (hah!) use of drill/dremel and superglue, get an ethernet cable into your N800, but other than ruining your Numpc, you'll have achieved nothing.

You could spend money to buy one of those portable ethernet-to-wifi routers, or get a cheap dataplan for your bluetooth-enabled phone, but that's about it.

So there...

Thanks for your input, Karel!!

Mark

richardg1952 2007-03-27 20:04

Re: Ethernet Wired Connection Possible???
 
It should be possible to something with gadget Ethernet.
/mnt/initfs/lib/modules/2.6.18-omap1/g_ether.ko

I haven't had time to play with this. You need to rmmod g_file_storage before doing the insmod of g_ether. ifconfig usb0 10.0.0.150 as an example.
On a host plugging in a USB cable will show an Ethernet device. setting usb0 to 10.0.0.151 on the host gives you a private network. I'm sure there are ways to setup routing to put the n800 on the internet through the host but I haven'tresearched it.
Here's g_ether loaded:

[92396.230865] ether gadget: using random self ethernet address
[92396.230987] ether gadget: using random host ethernet address
[92396.231536] usb0: Ethernet Gadget, version: May Day 2005
[92396.231567] usb0: using musb_hdrc, OUT ep1out IN ep1in STATUS ep2in
[92396.231597] usb0: MAC 4a:71:3c:38:59:20
[92396.231658] usb0: HOST MAC a6:d3:19:0e:14:65
[92396.231689] usb0: RNDIS ready

The RNDIS means it should work with M$ idea of TCP/IP BUT you have to go out on the web and find the windoze driver - or just say no to Bill and switch completely to Linux;) I've no Apple experience, but it should work just fine.

Richard

phi 2007-03-27 20:12

Re: Ethernet Wired Connection Possible???
 
you could just buy a personal wifi access point

Texrat 2007-03-27 20:28

Re: Ethernet Wired Connection Possible???
 
I could have sworn I saw someone write of accomplishing this in another thread here...

ArchiMark 2007-03-27 20:29

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by richardg1952 (Post 41443)
It should be possible to something with gadget Ethernet.
/mnt/initfs/lib/modules/2.6.18-omap1/g_ether.ko

I haven't had time to play with this. You need to rmmod g_file_storage before doing the insmod of g_ether. ifconfig usb0 10.0.0.150 as an example.
On a host plugging in a USB cable will show an Ethernet device. setting usb0 to 10.0.0.151 on the host gives you a private network. I'm sure there are ways to setup routing to put the n800 on the internet through the host but I haven'tresearched it.
Here's g_ether loaded:

[92396.230865] ether gadget: using random self ethernet address
[92396.230987] ether gadget: using random host ethernet address
[92396.231536] usb0: Ethernet Gadget, version: May Day 2005
[92396.231567] usb0: using musb_hdrc, OUT ep1out IN ep1in STATUS ep2in
[92396.231597] usb0: MAC 4a:71:3c:38:59:20
[92396.231658] usb0: HOST MAC a6:d3:19:0e:14:65
[92396.231689] usb0: RNDIS ready

The RNDIS means it should work with M$ idea of TCP/IP BUT you have to go out on the web and find the windoze driver - or just say no to Bill and switch completely to Linux;) I've no Apple experience, but it should work just fine.

Richard


I think I get what you're saying, Richard....

use a USB LAN adapter????

:confused:

brendan 2007-03-27 20:30

Re: Ethernet Wired Connection Possible???
 
i happen to like the idea of a mini-usb-to-*POTS/PBX/ETHERNET* dongle. pin out tests (with a matching end), line break checking, and line chasing (with matching "AA" battery powered wand).

ArchiMark 2007-03-27 20:31

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by phi (Post 41449)
you could just buy a personal wifi access point

Thanks, phi.

This is the same as the wifi to ethernet bridge that other posters referred to, right??

ArchiMark 2007-03-27 20:32

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by Texrat (Post 41453)
I could have sworn I saw someone write of accomplishing this in another thread here...

Will see if I can find it, Texrat....

Thanks!

ArchiMark 2007-03-27 20:33

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by brendan (Post 41456)
i happen to like the idea of a mini-usb-to-*POTS/PBX/ETHERNET* dongle. pin out tests (with a matching end), line break checking, and line chasing (with matching "AA" battery powered wand).

Sounds like a plan, brendan....

Thanks!

BobF4321 2007-03-27 21:28

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by ArchiMark (Post 41416)
Greetings,

I know that the great thing about N800's is WiFi but at work, I can't use WiFi, just ethernet connection...so that's really important to me to have that option if I want....

Mark

How about using a Bluetooth access point? Maybe this isn't covered by your work's network policy..... ;-)

ArchiMark 2007-03-27 22:07

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by BobF4321 (Post 41471)
How about using a Bluetooth access point? Maybe this isn't covered by your work's network policy..... ;-)

Another creative idea, Bob!

This is quite a group!

;)


Just to be clear about what I meant about my work situation....

I have internet access at work via ethernet connection. We do not have a wifi network in my office. Hence my question regarding ethernet connections...

However, I didn't think of using either a USB to Ethernet adaptor or a WiFi to Ethernet device....seems like either one could work....hopefully....

:rolleyes:

troubleshootr 2007-03-28 00:38

Re: Ethernet Wired Connection Possible???
 
Mark,

Out of curiosity, how does the N800 compare to the Zaurus 3200? There is not too many people that have experience with both. I was thinking of getting a 3200 when I go to Japan next month.

ArchiMark 2007-03-28 02:24

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by troubleshootr (Post 41504)
Mark,

Out of curiosity, how does the N800 compare to the Zaurus 3200? There is not too many people that have experience with both. I was thinking of getting a 3200 when I go to Japan next month.

I dunno, troubleshootr, I've never seen nor used a N800....

As noted in my original post, I'm just contemplating one as an idea at this point...and realized that I needed to know if I'd be able to connect to internet at work if I want as this would help determine whether I'd look into a N800 further....

As for 3200, I think they're great lil' units...beautiful crisp, clear display and keyboard is much better than you'd would guess it would be...if they had built-in wifi and ethernet port they'd be perfect....but it's OK using my CF wifi and ethernet cards...

FWIW, I've reflashed my ROM with various distros available. Currently, quite happy with a pdaXrom variant called pdaXii13.....very good user community over at OESF.org/forums....they even have a small Nokia section there too... ;)
But not as large or active as this one...mainly focused on Zaurii....

HTH,

Mark

richardg1952 2007-03-28 02:43

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by ArchiMark (Post 41454)
I think I get what you're saying, Richard....

use a USB LAN adapter????

:confused:

No.In essence the n800 becomes the USB lan adapter. USB has basically two flavors (ignoring OTG) host or gadget. Host is how a desktop machine normally behaves -- you plug USB gadgets into a host. By default the N800 presents itself as a USB storage device. There are several common gadget drivers, file backed storage, ethernet, serial. The N800 can be any gadget as long as there is a working driver. Messing with gadgets does require root permission.
Note that a device can only be one type of device at a time; hence the rmmod f g_file_storage before insmoding g_ether.

ArchiMark 2007-03-28 02:59

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by richardg1952 (Post 41521)
No.In essence the n800 becomes the USB lan adapter. USB has basically two flavors (ignoring OTG) host or gadget. Host is how a desktop machine normally behaves -- you plug USB gadgets into a host. By default the N800 presents itself as a USB storage device. There are several common gadget drivers, file backed storage, ethernet, serial. The N800 can be any gadget as long as there is a working driver. Messing with gadgets does require root permission.
Note that a device can only be one type of device at a time; hence the rmmod f g_file_storage before insmoding g_ether.

Thanks for clarifying, Richard!
:)

troubleshootr 2007-03-28 10:44

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by ArchiMark (Post 41515)
I dunno, troubleshootr, I've never seen nor used a N800....

As noted in my original post, I'm just contemplating one as an idea at this point...and realized that I needed to know if I'd be able to connect to internet at work if I want as this would help determine whether I'd look into a N800 further....

As for 3200, I think they're great lil' units...beautiful crisp, clear display and keyboard is much better than you'd would guess it would be...if they had built-in wifi and ethernet port they'd be perfect....but it's OK using my CF wifi and ethernet cards...

FWIW, I've reflashed my ROM with various distros available. Currently, quite happy with a pdaXrom variant called pdaXii13.....very good user community over at OESF.org/forums....they even have a small Nokia section there too... ;)
But not as large or active as this one...mainly focused on Zaurii....

HTH,

Mark

Sorry Mark, I thought you had an 800 as well. I should have read the thread better :( . Thanks for your input on the Zaurus 3200. Sorry to post OT.

Bob

TA-t3 2007-03-28 10:44

Re: Ethernet Wired Connection Possible???
 
I use a small (cig. packet sized) wifi/ethernet adapter. It can work either as a little access point (plug it in the ethernet port and connect via wi-fi), or as a wi-fi adapter (plug it in the ethernet port on a computer and you now have a wi-fi interface). It can be powered either by a separate power unit, or from an USB port (usb-to-power cable).
A BT access point sounds like a good idea too, I was however just thinking about the N800 setup.. out of the box the wizard seems to want to connect to BT devices with a Phone profile only, so presumably you'll have to do the setup manually. But this could be the best solution for workplaces where you're not allowed to put a wi-fi AP onto their internal network (understandable!). BT devices are paired, after all, and class 2 devices have short range.

EDIT: Aha.. no N800.. so the wizard remark doesn't apply. Anyway my own Zaurus (old SL series) doesn't have BT at all.

phi 2007-03-28 12:57

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by ArchiMark (Post 41457)
Thanks, phi.

This is the same as the wifi to ethernet bridge that other posters referred to, right??

You could just get one of these

http://www.linksys.com/servlet/Satel...=4100839789B19

or an Apple Airport Express. Both serve the same purpose. Of course they are a bit pricey solutions. But if you don't have a bluetooth phone with a data plan, this is a good solution.

timsamoff 2007-03-28 14:14

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by Texrat (Post 41453)
I could have sworn I saw someone write of accomplishing this in another thread here...

Yeah, I just asked about this a few days ago:

http://www.internettablettalk.com/fo...ead.php?t=5214

-T.

ArchiMark 2007-03-28 15:07

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by troubleshootr (Post 41580)
Sorry Mark, I thought you had an 800 as well. I should have read the thread better :( . Thanks for your input on the Zaurus 3200. Sorry to post OT.

Bob

No problemo, Bob....

;)

ArchiMark 2007-03-28 15:09

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by TA-t3 (Post 41581)
I use a small (cig. packet sized) wifi/ethernet adapter. It can work either as a little access point (plug it in the ethernet port and connect via wi-fi), or as a wi-fi adapter (plug it in the ethernet port on a computer and you now have a wi-fi interface). It can be powered either by a separate power unit, or from an USB port (usb-to-power cable).
A BT access point sounds like a good idea too, I was however just thinking about the N800 setup.. out of the box the wizard seems to want to connect to BT devices with a Phone profile only, so presumably you'll have to do the setup manually. But this could be the best solution for workplaces where you're not allowed to put a wi-fi AP onto their internal network (understandable!). BT devices are paired, after all, and class 2 devices have short range.

EDIT: Aha.. no N800.. so the wizard remark doesn't apply. Anyway my own Zaurus (old SL series) doesn't have BT at all.

Thanks for all that info, TA-t3!

Would be nice to know what unit you have, who makes it, model....

As for Z's you can use BT adaptors with them..at least on SL-Cxxx/xxxx series...

ArchiMark 2007-03-28 15:19

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by phi (Post 41600)
You could just get one of these

http://www.linksys.com/servlet/Satel...=4100839789B19

or an Apple Airport Express. Both serve the same purpose. Of course they are a bit pricey solutions. But if you don't have a bluetooth phone with a data plan, this is a good solution.

Thanks, phi!

Just checked online and Linksys unit goes for about $80...nice design too...

and I don't have data plan now for phone....

TA-t3 2007-03-28 15:19

Re: Ethernet Wired Connection Possible???
 
Mine is similar to this: ASUS WL-330G:
http://www.pcmall.com/pcmall/shop/de...pno~473197.asp

The one I have is an earlier model, 330B. The only difference is that mine is 802.11b while the newer 330G model is 802.11g, and that my older model can function as a wi-fi bridge (repeater) as well. I haven't actually used that functionality, but it's meant for where e.g. the wi-fi in your hotel has a signal that is too weak when you're sitting outside on the veranda -- you could stretch the range a bit by leaving the pocket adapter in range of the hotel wi-fi and let it work as a repeater. Probably not as much used as the other two modes (AP and adapter), so they dropped it from the new model.

ArchiMark 2007-03-28 15:31

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by timsamoff (Post 41613)
Yeah, I just asked about this a few days ago:

http://www.internettablettalk.com/fo...ead.php?t=5214

-T.

Thanks for that link, Tim!

:)

ArchiMark 2007-03-28 15:33

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by TA-t3 (Post 41628)
Mine is similar to this: ASUS WL-330G:
http://www.pcmall.com/pcmall/shop/de...pno~473197.asp

The one I have is an earlier model, 330B. The only difference is that mine is 802.11b while the newer 330G model is 802.11g, and that my older model can function as a wi-fi bridge (repeater) as well. I haven't actually used that functionality, but it's meant for where e.g. the wi-fi in your hotel has a signal that is too weak when you're sitting outside on the veranda -- you could stretch the range a bit by leaving the pocket adapter in range of the hotel wi-fi and let it work as a repeater. Probably not as much used as the other two modes (AP and adapter), so they dropped it from the new model.

Thanks for the follow-up info, TA-t3!! Appreciate it!

:)

SeRi@lDiE 2007-03-28 15:37

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by TA-t3 (Post 41628)
Mine is similar to this: ASUS WL-330G:
http://www.pcmall.com/pcmall/shop/de...pno~473197.asp

The one I have is an earlier model, 330B. The only difference is that mine is 802.11b while the newer 330G model is 802.11g, and that my older model can function as a wi-fi bridge (repeater) as well. I haven't actually used that functionality, but it's meant for where e.g. the wi-fi in your hotel has a signal that is too weak when you're sitting outside on the veranda -- you could stretch the range a bit by leaving the pocket adapter in range of the hotel wi-fi and let it work as a repeater. Probably not as much used as the other two modes (AP and adapter), so they dropped it from the new model.

Thats what I have :D
The Asus wl-330g

Texrat 2007-03-31 01:51

Re: Ethernet Wired Connection Possible???
 
Note this comment in the Bora 3.1 maintenance update:
Quote:

FEATURES
========

Features listed below are present only in the developer ROOTFS
================================================== ============

Battery charging and power management

USB/IP
- networking using g_ether.ko USB networking gadget is available in initfs
- USB networking control panel applet in rootfs

.
.
.
Connectivity support (USB, WLAN, bluetooth) support
- USB networking


http://repository.maemo.org/stable/3...lnotes_3.1.txt

:D

HuangShan 2007-03-31 20:48

Re: Ethernet Wired Connection Possible???
 
Ok, so the N800 has support for IP over USB.
I loaded the g_ether module as described earlier in the thread by Richard and connected my windows PC and the IT with the USB cable. The WIndows PC recognized the Ethernet USB device but there are no drivers on the PC to use the connection.
Any ideas how to proceed ? [ OK, besides switching the OS on the host :-) ]

Thanks.

richardg1952 2007-04-01 04:46

Re: Ethernet Wired Connection Possible???
 
google for linux.inf, save the file. make sure that it has Windows CRLF for each line. then follow the directions @ http://docwiki.gumstix.org/Windows_XP_usbnet.

If you have access to the linux kernel source linux.inf is in the Documention/usb/ directory.

HuangShan 2007-04-02 12:01

Re: Ethernet Wired Connection Possible???
 
Thanks so much for the explanation and links, Richard.
I enabled the driver as described in the link.
Unfortunately my WinXP Sp2 does not like the connection. The installation finishes with: Cannot start the device ( code 10). No new network connection visible :(
I see some suspicious messages on the IT with dmesg. Unfortunatly, I do not understand USB protocols nor RNDIS.

The g_file* stuff works ok.

richardg1952 2007-04-04 19:56

Re: Ethernet Wired Connection Possible???
 
Did you have the g_ether module loaded, an ip address configured on the N800 and the USB cable connected? Loading the XP driver is a PITA. I've seen it hang during the install process. Sometimes disconnecting the USB cable will allow the instalation to complete.

Richard

ArchiMark 2007-04-04 22:13

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by phi (Post 41600)
You could just get one of these

http://www.linksys.com/servlet/Satel...=4100839789B19

or an Apple Airport Express. Both serve the same purpose. Of course they are a bit pricey solutions. But if you don't have a bluetooth phone with a data plan, this is a good solution.

FWIW, I got one of these Linksys WTR54GS Travel Router's phi suggested and it works great in my office!

Thanks!

HuangShan 2007-04-06 20:17

Re: Ethernet Wired Connection Possible???
 
Quote:

Originally Posted by richardg1952 (Post 42818)
Did you have the g_ether module loaded, an ip address configured on the N800 and the USB cable connected? Loading the XP driver is a PITA. I've seen it hang during the install process. Sometimes disconnecting the USB cable will allow the instalation to complete.

Richard

Thanks Richard. At least on my home PC the conection is working now. In the first try I missed enabling the usb0 interface on the IT.
Still the connection is of little value. I expected I could reach the Internet through my WinXP box. I didn't make it ...
Now the steps I followed:
1. On the Nokia using root privilege:
Unload the g_file_storage kernel module.
Code:

rmmod g_file_storage
Load the g_ether module. The path depends on the kernel you are using
Code:

insmod /mnt/initfs/lib/modules/2.6.18-omapl/g_ether.ko
At this point a
Code:

ifconfig -a
should show the unconfigured (no ip address attached) usb0 interface.
You can use
Code:

ifup usb0
The configuration is taken (and may be changed / inspected) from
Code:

/etc/networks/interfaces
So you will have 192.168.2.15 attached to the N800 usb0 interface and the other side of the USB cable is expected to have 192.168.2.14 attached.

2. Plug in the USB cable. The windows PC will detect the new device and ask for drivers. The drivers are onboard, the OS has to be told which to choose. This is done via an inf file. You take this linux.inf, copy it to your PC file system and manually navigate the wizard to the file location. The installation ended with an error message (code 10). Device Manager -> Network Adapters shows the Linux RNDIS Gadget after View->Show hidden devices is switched on. Still there was no Network Connection visible in the Control Panel. [At this time I saw also an error box on my N800. The reason was: I am using mmc2 as my root file system. This box my safely be ack'ed.]

3. I unhooked the USB cable and rebooted the PC. The subsequent repluging fo the USB cable successfully created the Network Connection. The connection was in disabled state. It could be enabled after the IP settings of the connection on the PC side had been set manually to the matching IP address of the N800 ( 192.168.2.14, if you used the nokia supplied config above). Now I could open an ssh session from my PC to the N800.

4. I was unsuccessful with routng ip through the XP! I did enable forwarding in the registry (KB315236 but browsing WWW from the N800 failed. (After all I am using "private" IP addresses, so this makes sense). In case the routing would work, one has to set up DNS properly on the N800 before the fun begins.

5. So I tried "bridging". But this is a mystery to me. Simply bridging the exisitng connections in the Control Panel did create a Windows Bridged Connection. But from that point on neither the PC nor the N800 had a working IP setup. I have no clue how to set up the bridging correctly.

HuangShan 2007-04-06 21:27

Re: Ethernet Wired Connection Possible???
 
The bridging is quite well explained in here.
At home my DSL-router runs a DHCP server. I set up the bridging interface on the PC and the usb0 interface on the N800 to DHCP. The InternetTablett did not aquire the needed address. Setting it manually to a reasonable value lets me open a ssh session from the PC to the device, but a wget to my DSL- router from the N800 gives me "no route to host" ... Strange as it is the same ip network.

tolou 2007-04-07 07:44

Re: Ethernet Wired Connection Possible???
 
Anyone trying to connect ehternet to the Nokia tablets should consider an Ad hoc connection:
http://www.microsoft.com/windowsxp/u...mspx?pf=trueHi
I have personally yet to see if it works as I haven't tried with a compatible wifi connection myself.


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

vBulletin® Version 3.8.8