![]() |
#16 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 2975
Join Date: Jan 2012
Location: Germany
Device: Kobo Touch
|
|
![]() |
![]() |
![]() |
#17 |
Member
![]() Posts: 19
Karma: 58
Join Date: Oct 2013
Device: Kobo Glo, Kobo Wireless
|
Thanks for the hack!
It is working on my Glo ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
ebook fan
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Please explain why do you need dhcp?
Just specify mac address when starting usbnet: insmod $driver_root/g_ether.ko host_addr=46:0d:9e:67:69:eb dev_addr=46:0d:9e:67:69:ec I set up usbnet and it works well with network manager on my ubuntu. |
![]() |
![]() |
![]() |
#19 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 2975
Join Date: Jan 2012
Location: Germany
Device: Kobo Touch
|
Quote:
Regards Aydan |
|
![]() |
![]() |
![]() |
#20 |
ebook fan
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
USB network + indexation !
REMOVED
Last edited by sergeyvl12; 10-17-2013 at 07:57 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 2975
Join Date: Jan 2012
Location: Germany
Device: Kobo Touch
|
@sergey,
The way you bring up the usb interface and stop it afterwards collides with the autousbnet scripts. You should either start a new thread for this or change your script so it works together with my scripts. This will also break usb mass storage completely, which is exactly the opposite of what autousbnet is supposed to do. It might be easier to kick off indexing after bringing down the interface. Regards Aydan Last edited by Aydan; 10-17-2013 at 07:29 AM. |
![]() |
![]() |
![]() |
#22 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 137
Karma: 207434
Join Date: Dec 2011
Device: Kobo Glo
|
![]() Quote:
cannot connect over IP. IP range in my network is 192.168.156.x - and I assume one can change that in /etc/udhcpd.conf? start 192.168.156.20 #default: 192.168.0.20 end 192.168.156.254 #default: 192.168.0.254 In line 86 of /etc/udhcpd.conf I see option subnet 255.255.0.0 I have a subnet 255.255.255.0 So should I change the subnet option accordingly? Is it possible to (disable DHCP and) set a single IP in the config file, maybe by setting "start" and "end" to the same IP? Reason: I have DHCP disabled on my Windows network adapter. Regards Koboyashi Last edited by Koboyashi; 10-24-2013 at 10:58 AM. |
|
![]() |
![]() |
![]() |
#23 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 2975
Join Date: Jan 2012
Location: Germany
Device: Kobo Touch
|
@Koboyashi
the usb network is a different network from your LAN/WLAN and should use a different IP range. What I noticed is that it sometimes takes a long time for Win7 to pick up the correct IP. There's no need to change the dhcp config of the kobo. The USB net is an extra network adapter, where you can either configure DHCP or a fixed address in the range of 192.168.142.1-254 independently of other network adapters. If you set a fixed address on your PC there's no need to disable DHCP on the kobo. Regards Aydan |
![]() |
![]() |
![]() |
#24 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 137
Karma: 207434
Join Date: Dec 2011
Device: Kobo Glo
|
I've reset to the original /etc/udhcpd.conf and installed a driver for the
USB Ethernet/RNDIS Gadget (Windows found no driver) but still no luck. Trying to "repair" the Windows network adapter shows nothing to repair. Where do I see what IP windows has picked up? Do I have to configure an extra network under Windows? Regards Koboyashi |
![]() |
![]() |
![]() |
#25 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 2975
Join Date: Jan 2012
Location: Germany
Device: Kobo Touch
|
The easiest way to get the IP is to call "ipconfig" from a command line. It'll probably be called something like "LAN-connection 2".
Or go to "Network and sharing center"->"Adapter settings" -> right-click on the connection (there should be at least two) -> Status -> Details It can take one or two minutes until windows gets the correct IP. I have no idea why, but it seens the first DHCP request doesn't get through and the next one takes a while. Regards Aydan |
![]() |
![]() |
![]() |
#26 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 137
Karma: 207434
Join Date: Dec 2011
Device: Kobo Glo
|
Hmm, I see a "LAN-connection 2". But after about 2 seconds Windows shows "Netzwerkkabel wurde entfernt". Output from ipconfig /all:
Code:
Ethernet-Adapter LAN-Verbindung 2: Medienstatus. . . . . . . . . . . : Medium getrennt Verbindungsspezifisches DNS-Suffix: Beschreibung. . . . . . . . . . . : USB Ethernet/RNDIS Gadget Physikalische Adresse . . . . . . : 22-A8-5F-66-A7-BA DHCP aktiviert. . . . . . . . . . : Ja Autokonfiguration aktiviert . . . : Ja Koboyashi Last edited by Koboyashi; 10-24-2013 at 04:32 PM. Reason: Removed translations as I see you're from Germany too... |
![]() |
![]() |
![]() |
#27 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 2975
Join Date: Jan 2012
Location: Germany
Device: Kobo Touch
|
I think this happend for me too the first time.
Have you tried activating the connection? |
![]() |
![]() |
![]() |
#28 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 137
Karma: 207434
Join Date: Dec 2011
Device: Kobo Glo
|
The connection is activated. Deactivating and re-activating changes nothing - remains disconnected.
|
![]() |
![]() |
![]() |
#29 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 2975
Join Date: Jan 2012
Location: Germany
Device: Kobo Touch
|
For the life of me I can't remember what I did to solve this.
|
![]() |
![]() |
![]() |
#30 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 137
Karma: 207434
Join Date: Dec 2011
Device: Kobo Glo
|
Thanks for your patience. Meanwhile I tried to connect via 4 other USB ports - same result -.-
Seems to become a looong google night... Regards Koboyashi |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I enable usb networking? | wallacemckart | Kindle Developer's Corner | 15 | 11-01-2013 06:38 AM |
Internet over USB networking | fry@pocketbook | Kindle Developer's Corner | 19 | 05-28-2013 10:31 PM |
Setup USB Networking K3 | nathansuchy | Kindle Developer's Corner | 3 | 11-14-2012 03:37 PM |
USB Networking on Mac OS? | DairyKnight | Kindle Developer's Corner | 19 | 07-02-2012 04:19 PM |
Firmware Update USB networking for 2.5? | dd_engi | Amazon Kindle | 9 | 05-09-2010 06:45 AM |