On the belcarra site there should be drivers for the 2.4 kernel, but not for 2.6. Looks for Leopardus2's ppp connection though, that's what most linux users use. That way you can use Telnet and NFS, and even through bluetooth!
Hi,
I finally got my A780 and wish to telnet to it, start writing my own scripts, etc.
From what I read here, I understand that the way to connect to the phone is by USBLAN. Ironically, I can't find Linux a USBLAN driver and I don't have a windows machine, so I'm unable to connect.
1. Does anyone know where I could get Linux USBLAN drivers ? (preferably for 2.6.x, but anything will do).
2. Is there a way to install LinLoader on the phone without having USBLAN available ?
If I can install LinLoader, I may be able to get PPP running over rfcomm-tty, and get a network connection without USBLAN.
Thanks,
Mack
On the belcarra site there should be drivers for the 2.4 kernel, but not for 2.6. Looks for Leopardus2's ppp connection though, that's what most linux users use. That way you can use Telnet and NFS, and even through bluetooth!
Yes, but does it run Linux?
Thanks.
I looked at belcarra's site. It says "Downloads are temporarily unavailable" and been saying that for at least a week now. I mailed them and never got a reply. Thats why I asked for a driver here. I was hoping there's a copy of it lurking somewhere.
As for LeoPPP, thats basically what I planned to write. I'm glad to see someone already did. The problem is that I need initial telnet access in order to run the script (or install LinLoader, or anything else). Its a chicken-and-egg problem. No way to telnet -> no way to run a script -> no way to set a network connection -> no way to telnet. In order to break this chain, I need either a USBLAN driver (to use once, and install LeoPPP), or some other way to run a shell command without USBLAN.
also there is since kernel 2.6.12_rc4 usblan support integrated in kernel, think it should work for a780, like it does for e680 and e680i.
kernel settings already posted, search for![]()
Thanks. Will look for it.
oh yeah, forgot thatOriginally Posted by pascal
![]()
if you are willing to use a 2.4 kernel the Belcarra driver sources are posted somwhere in the forum. its a one minute compile and worked fine w/ redhat 9.0 and suse 9.0.
nobody is perfectOriginally Posted by maxx_730
![]()
Just a quick update for whoever runs into the same problem:
I have telnet working over usbnet in Linux 2.6.11. (I didn't want to upgrade to 2.6.12 because I have too many patches on my 2.6.11 at the moment
All you need to do is to grab three files from 2.6.12:
drivers/usb/net/usbnet.c
include/linux/usb_cdc.h
include/linux/mii.h
and of course patch usbnet.c as previously described here, to detect the USB ID of the phone in USBLAN mode.
With that done, just rebuild usbnet.ko in your kernel tree, replace the old version, depmod -a, and you're set. When connected, just ifconfig usb0 192.168.1.1 and you can telnet to 192.168.1.2.
I do seem to experience some hangs of tcp connections with large packets. Playing with the MTU of usb0 seems to affect it to some extent.
Anyway, now I'm off to replace this whole thing with LeoPPP (which was really the whole purpose of this exercise![]()