Author Topic: Tcp/ip Over Usb & Samba, Don't Work At Same Time  (Read 4392 times)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Tcp/ip Over Usb & Samba, Don't Work At Same Time
« on: October 04, 2006, 01:21:33 am »
I finally got TCP/IP over USB working by following this post:
https://www.oesf.org/forums/index.php?showtopic=18619
It uses Internet Connection Sharing in Windows.
I'm using a LAN card to connect to ADSL
To get this working, I need to do these 2 things which affect Samba.
1. Enable Internet Connection Sharing on my LAN connection.
2. Change the following settings in /etc/hotplug/usbdnet.conf

DHCPS=yes
DHCPC=no
to
DHCPS=no
DHCPC=yes

This allows me to surf over USB on my Zaurus, but "Blocks" Samba
To get Samba working again, I need to:
1. Disable Internet Connection Sharing on my LAN connection.
2. Change above settings in usbdnet.conf back to what they were originally.
3. Disable Windows firewall

This stops me from being able to go online on my Z.
I'll figure out the firewall later, but why do I need to change the other 2 settings
to get Samba working?

Also, I noticed, the IP that I usually used to connect Samba changed from
192.168.129.201
to
192.168.129.1

I have a desktop shortcut on windows that quit working because Samba's IP changes now.

Thanks for reading this,
Jon
« Last Edit: October 04, 2006, 01:24:31 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Tcp/ip Over Usb & Samba, Don't Work At Same Time
« Reply #1 on: October 05, 2006, 09:08:20 am »
Quote
I finally got TCP/IP over USB working by following this post:
https://www.oesf.org/forums/index.php?showtopic=18619
It uses Internet Connection Sharing in Windows.
I'm using a LAN card to connect to ADSL
To get this working, I need to do these 2 things which affect Samba.
1. Enable Internet Connection Sharing on my LAN connection.
2. Change the following settings in /etc/hotplug/usbdnet.conf

DHCPS=yes
DHCPC=no
to
DHCPS=no
DHCPC=yes

This allows me to surf over USB on my Zaurus, but "Blocks" Samba
To get Samba working again, I need to:
1. Disable Internet Connection Sharing on my LAN connection.
2. Change above settings in usbdnet.conf back to what they were originally.
3. Disable Windows firewall

This stops me from being able to go online on my Z.
I'll figure out the firewall later, but why do I need to change the other 2 settings
to get Samba working?

Also, I noticed, the IP that I usually used to connect Samba changed from
192.168.129.201
to
192.168.129.1

I have a desktop shortcut on windows that quit working because Samba's IP changes now.

Thanks for reading this,
Jon
[div align=\"right\"][a href=\"index.php?act=findpost&pid=143028\"][{POST_SNAPBACK}][/a][/div]

just add multiple sub networks to smb.conf or don;t restrict by subnet at all and restart samba after you setup usbd and you will have both working.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K