Author Topic: St268  (Read 3998 times)

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
St268
« on: October 29, 2007, 07:53:40 am »
Hi,
  I just recently picked up a USB LAN NIC which according to blurb on the site I brought it from was a  rtl8150 what do I find when I get it.  It is a ST268 instead.  Has anyone managed to compile the drivers for this with for use with the R198?

  From what I have read it should also work with the dm9601 drivers but of course those aren't in R198 either.
« Last Edit: October 29, 2007, 12:27:31 pm by scrapheap »

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
St268
« Reply #1 on: October 29, 2007, 02:25:19 pm »
I compiled the dm9601 driver for r198 a while back, but it didn't work with my NIC  I think the driver is just bad, but YMMV. Search the forums for it (I'm fairly sure I posted it).

I'll post it later if you can't find it.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
St268
« Reply #2 on: October 30, 2007, 07:39:32 am »
Quote from: Capn_Fish
I compiled the dm9601 driver for r198 a while back, but it didn't work with my NIC  I think the driver is just bad, but YMMV. Search the forums for it (I'm fairly sure I posted it).

I'll post it later if you can't find it.

I found it thanks.  It doesn't seem to work though so I guess I will have to figure out how to get the kernel headers into my zaurus so I can compile the ST268 drivers.

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
St268
« Reply #3 on: October 30, 2007, 08:17:37 am »
I have just found a post elsewhere (http://www.murga-linux.com/puppy/viewtopic.php?t=18500) that suggests the following lines added to the dm9601 source sould fix the problem.

DM9601_DEV( "Davicom USB-100", 0x0a46, 0x0268,
DEFAULT_GPIO_RESET )

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
St268
« Reply #4 on: October 30, 2007, 02:21:25 pm »
The problem of dhcpcd not working?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
St268
« Reply #5 on: October 30, 2007, 04:06:10 pm »
Quote from: Capn_Fish
The problem of dhcpcd not working?

The problem is that when the dm9601 module is modprobed it doesn't detect my interface as it is a ST268 so it doesn't create eth0.

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
St268
« Reply #6 on: October 31, 2007, 09:46:51 am »
I have managed to compile the module and install it and it now detects my USB device and creates eth0.  But now dhcpcd doesn't pick up a ip address.

If I bring up the interface by setting the IP manually it fails to ping other devices I know are on the network.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
St268
« Reply #7 on: October 31, 2007, 02:45:21 pm »
Which module? If it's DM9601, it doesn't work for me either

If not, maybe there's some trick to using USB to ethernet adapters we're not aware of?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
St268
« Reply #8 on: November 01, 2007, 04:54:47 am »
I got it working last night at home.  I am wondering if it is a power issue.  I will try it closer to one of our switches at work and if it works then I will try it through a powered USB hub.

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
St268
« Reply #9 on: November 01, 2007, 05:43:30 am »
I have tried it now connecting directly to the switch and with a powered hub and I get the same result.  I have also tried it on XP machine with the drivers installed and that said that the cable wasn't connected.  I am wondering if I have a faulty USB NIC.  I have contacted the manufacturers tech support and hopefully they will have a suggest or at least replace it with a one they know to be working.

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
St268
« Reply #10 on: November 01, 2007, 08:04:39 am »
I have created a package for the patched dm9601 kernel module for the 2.6.16 kernel in r198 which I have attached.  If anyone tries it and finds some problems with it or finds that it works fine for them then please let me know.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
St268
« Reply #11 on: November 01, 2007, 02:17:51 pm »
What's the ipk name supposed to be? It should follow the NAME_VERSION_armv5tel.ipk, with no other underscores in the filename or in the control file (that messes up the installation/removal of packages). To make things worse, the forum changes - to _, which really messes up some package names.

Thanks.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
St268
« Reply #12 on: November 02, 2007, 05:20:54 am »
Quote from: Capn_Fish
What's the ipk name supposed to be? It should follow the NAME_VERSION_armv5tel.ipk, with no other underscores in the filename or in the control file (that messes up the installation/removal of packages). To make things worse, the forum changes - to _, which really messes up some package names.

Thanks.

The name is supposed to be  dm9601-st268_2.6.18_armv5tel.ipk as it is the 2.6.18 version of the dm9601 module patched to support the ST268.  Of course the forum has changed the - to _ which I didn't realise it does.