Join Today
+ Reply to Thread
Results 1 to 9 of 9
  1. #1

    Default USBLAN driver for Linux ?

    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

  2. #2
    Join Date
    Feb 2005
    Location
    The Netherlands
    Cell: E680 flashed to E680i
    Posts
    1,368

    Default Re: USBLAN driver for Linux ?

    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?

  3. #3

    Default Re: USBLAN driver for 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.

  4. #4
    Join Date
    May 2005
    Location
    Germany, Hannover
    Posts
    289

    Default Re: USBLAN driver for Linux ?

    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

  5. #5

    Default Re: USBLAN driver for Linux ?

    Thanks. Will look for it.

  6. #6
    Join Date
    Feb 2005
    Location
    The Netherlands
    Cell: E680 flashed to E680i
    Posts
    1,368

    Default Re: USBLAN driver for Linux ?

    Quote Originally Posted by pascal
    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
    oh yeah, forgot that

  7. #7

    Default Re: USBLAN driver for Linux ?

    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.

  8. #8
    Join Date
    May 2005
    Location
    Germany, Hannover
    Posts
    289

    Default Re: USBLAN driver for Linux ?

    Quote Originally Posted by maxx_730
    oh yeah, forgot that
    nobody is perfect

  9. #9

    Default Re: USBLAN driver for Linux ?

    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


 
+ Reply to Thread

Similar Threads

  1. USBLAN driver
    By imran_uh in forum E680i Applications
    Replies: 20
    Last Post: 09-29-2007, 10:42 AM
  2. hi all need the usblan driver
    By mad4mobiles in forum A780 General Chat
    Replies: 3
    Last Post: 08-18-2006, 02:52 AM
  3. USBLAN driver needed
    By mOKa in forum E680 General Chat
    Replies: 7
    Last Post: 06-23-2005, 01:44 AM
  4. Lookig for USBLan driver
    By Yongyut in forum A780 General Chat
    Replies: 5
    Last Post: 06-16-2005, 12:12 PM
  5. Why should I have USBLan Driver? Thankz
    By Bam1234 in forum E680 General Chat
    Replies: 3
    Last Post: 02-20-2005, 05:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1