Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-30-2010, 08:12 PM   #1
pbowler
Junior Member
pbowler began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2010
Device: K3
Any way to connect to Ad Hoc network?

the K3 will not connect to an Ad-Hoc network by design, any hacks that allow this?

I am trying to make Calibre available via WiFi without an Infrastructure network (i.e. riding in a car, or in a Hotel where I choose not to connect to their WiFi)

thoughts?
pbowler is offline   Reply With Quote
Old 12-03-2010, 09:42 AM   #2
mangler1055
Junior Member
mangler1055 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2010
Device: kindle 3
I second this question!

I saw somewhere people were playing with connecting to WPA supplicant network.. curious if there was any work on ad-hoc.

i went cheap any got my fiancee the kindle wifi since she has wifi tether on her android. but it only does ad-hoc.

why would kindle care?

thanks!
mangler1055 is offline   Reply With Quote
Advert
Old 01-20-2011, 01:28 PM   #3
cosmicanomaly
Junior Member
cosmicanomaly began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2011
Location: PA, USA
Device: Kindle 3
I am looking for a way to do this too...I specifically got the wifi only version figuring I could just tether it to my Droid if I needed to. :-(
Has there been any work on a hack for this?
cosmicanomaly is offline   Reply With Quote
Old 01-21-2011, 08:03 AM   #4
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
I know you can set the chipset to ad-hoc mode by
/etc/init.d/wifi stop
/etc/init.d/wifi --mode ibss

However the kindle os still doesn't allow connecting to ad-hoc, so you have to us iwconfig
iwconfig wlan0 essid yournetworkhere

I don't know if security (wep/wpa) is supported by the chipset or not. I think the reason they don't have ad-hoc support is that wep doesn't work with ad-hoc. I also don't know if this method is for creating an ad-hoc network or joining one. I haven't tested it.
yifanlu is offline   Reply With Quote
Old 01-21-2011, 10:59 AM   #5
vidalpascual
Junior Member
vidalpascual began at the beginning.
 
vidalpascual's Avatar
 
Posts: 7
Karma: 10
Join Date: Nov 2010
Device: Kindle 3 WiFi
How can I enter these commands on my Kindle??
vidalpascual is offline   Reply With Quote
Advert
Old 01-21-2011, 06:57 PM   #6
kranu
I <3 my Kindle
kranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensions
 
Posts: 528
Karma: 51332
Join Date: Nov 2010
Location: United States
Device: Kindle 3G + WiFi
Quote:
Originally Posted by vidalpascual View Post
How can I enter these commands on my Kindle??
Jailbreak and SSH with USBNetwork. Search around these forums for instructions
kranu is offline   Reply With Quote
Old 02-26-2011, 05:33 AM   #7
kindle3wifi
Junior Member
kindle3wifi plays well with otherskindle3wifi plays well with otherskindle3wifi plays well with otherskindle3wifi plays well with otherskindle3wifi plays well with otherskindle3wifi plays well with otherskindle3wifi plays well with otherskindle3wifi plays well with otherskindle3wifi plays well with otherskindle3wifi plays well with otherskindle3wifi plays well with others
 
Posts: 4
Karma: 2600
Join Date: Feb 2011
Device: Kindle 3 wifi
The console looks like this, but I couldn't reach websites through the webkit browser. (By the way, I'm staying on 3.0.2 since the upgrade fails every time...):

[root@kindle /]# /etc/init.d/wifi stop
system: I wifi:def:WiFi Device mac = ...
Platform set to SHASTA_NATIVEMMC-SDIO
Platform Setup Script is: /opt/ar6k/host/support/platformscripts/plat_SHASTA_NATIVEMMC-SDIO.sh
Image path: /sbin
..unloading all
system: I wifi:def:loadAR6000 finished, args=(unloadall)
[root@kindle /]# /etc/init.d/wifi --mode ibss
system: I wifi:def:WiFi Device mac = ...
Platform set to SHASTA_NATIVEMMC-SDIO
Platform Setup Script is: /opt/ar6k/host/support/platformscripts/plat_SHASTA_NATIVEMMC-SDIO.sh
Image path: /sbin
No debug record limit set
Load Board Data from /opt/ar6k/target/AR6002/hw2.0/bin/lab126_15dBm_nodiv_WWR_CTL.bin
Updating MAC address
BMI Set App Start (address: 0x913950)
BMI Bit-Wise (OR) modify Register (address: 0x500410, orig:0x0, new: 0x1, mask:0x1)
BMI Write compressed Memory (address: 0x502070, filename: /opt/ar6k/target/AR6002/hw2.0/bin/athwlan.bin.z77)
BMI Write Memory (address: 0x52d6d0, filename: /opt/ar6k/target/AR6002/hw2.0/bin/data.patch.hw2_0.bin)
BMI Write Memory (address: 0x500418, value: 0x52d6d0)
BMI Done
system: I wifi:def:loadAR6000 finished, args=(--mode ibss)
[root@kindle /]# iwconfig
lo no wireless extensions.

usb0 no wireless extensions.

wlan0 AR6000 802.11g Mode:Ad-Hoc Bit Rate=1 Mb/s Tx-Power=0 dBm
Sensitivity=0/3
Retryn
Encryption keyff
Power Managementff
Link Quality:255/94 Signal level:-96 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

[root@kindle /]# iwconfig wlan0 essid Joikuspot
[root@kindle /]# iwconfig
lo no wireless extensions.

usb0 no wireless extensions.

wlan0 AR6000 802.11g ESSID:"Joikuspot"
Mode:Ad-Hoc Frequency:2.457 GHz Cell: EE:9D:01:95:23:CE
Bit Rate=1 Mb/s Tx-Power=16 dBm Sensitivity=0/3
Retryn
Encryption keyff
Power Managementff
Link Quality:255/94 Signal level:-96 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:7 Invalid misc:0 Missed beacon:0

[root@kindle /]# /etc/init.d/wifi stop
system: I wifi:def:WiFi Device mac = ...
Platform set to SHASTA_NATIVEMMC-SDIO
Platform Setup Script is: /opt/ar6k/host/support/platformscripts/plat_SHASTA_NATIVEMMC-SDIO.sh
Image path: /sbin
..unloading all
system: I wifi:def:loadAR6000 finished, args=(unloadall)

[root@kindle /]# /etc/init.d/wifi --mode std
system: I wifi:def:WiFi Device mac = ...
Platform set to SHASTA_NATIVEMMC-SDIO
Platform Setup Script is: /opt/ar6k/host/support/platformscripts/plat_SHASTA_NATIVEMMC-SDIO.sh
Image path: /sbin
No debug record limit set
Load Board Data from /opt/ar6k/target/AR6002/hw2.0/bin/lab126_15dBm_nodiv_WWR_CTL.bin
Updating MAC address
BMI Set App Start (address: 0x913950)
BMI Bit-Wise (OR) modify Register (address: 0x500410, orig:0x8, new: 0x9, mask:0x1)
BMI Write compressed Memory (address: 0x502070, filename: /opt/ar6k/target/AR6002/hw2.0/bin/athwlan.bin.z77)
BMI Write Memory (address: 0x52d6d0, filename: /opt/ar6k/target/AR6002/hw2.0/bin/data.patch.hw2_0.bin)
BMI Write Memory (address: 0x500418, value: 0x52d6d0)
BMI Done
system: I wifi:def:loadAR6000 finished, args=(--mode std)


[root@kindle /]# iwconfig
lo no wireless extensions.

usb0 no wireless extensions.

wlan0 AR6000 802.11g ESSID:"Speedport"
Mode:Managed Frequency:2.412 GHz Access Point: 00:16:38:6F:0B:A5
Bit Rate=54 Mb/s Tx-Power=16 dBm Sensitivity=0/3
Retryn
Encryption keyff
Power Managementff
Link Quality:44/94 Signal level:-51 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
kindle3wifi is offline   Reply With Quote
Old 03-04-2011, 10:56 AM   #8
craxycat
Junior Member
craxycat began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2011
Device: Kindle 3 Wi-Fi
Mode Ad-Hoc available on Kindle

[root@kindle root]# /etc/init.d/wifi stop
system: I wifi:def:WiFi Device mac = 28:EF:01:61:24:15
Platform set to SHASTA_NATIVEMMC-SDIO
Platform Setup Script is: /opt/ar6k/host/support/platformscripts/plat_SHASTA_NATIVEMMC-SDIO.sh
Image path: /sbin
..unloading all
system: I wifi:def:loadAR6000 finished, args=(unloadall)
[root@kindle root]# /etc/init.d/wifi --mode ibss
system: I wifi:def:WiFi Device mac = 28:EF:01:61:24:15
Platform set to SHASTA_NATIVEMMC-SDIO
Platform Setup Script is: /opt/ar6k/host/support/platformscripts/plat_SHASTA_NATIVEMMC-SDIO.sh
Image path: /sbin
No debug record limit set
Load Board Data from /opt/ar6k/target/AR6002/hw2.0/bin/lab126_15dBm_nodiv_WWR_CTL.bin
Updating MAC address
BMI Set App Start (address: 0x913950)
BMI Bit-Wise (OR) modify Register (address: 0x500410, orig:0x0, new: 0x1, mask:0x1)
BMI Write compressed Memory (address: 0x502070, filename: /opt/ar6k/target/AR6002/hw2.0/bin/athwlan.bin.z77)
BMI Write Memory (address: 0x52d6d0, filename: /opt/ar6k/target/AR6002/hw2.0/bin/data.patch.hw2_0.bin)
BMI Write Memory (address: 0x500418, value: 0x52d6d0)
BMI Done
system: I wifi:def:loadAR6000 finished, args=(--mode ibss)
[root@kindle root]# iwconfig wlan0 key s:********
[root@kindle root]# iwconfig wlan0 essid home-wifi
[root@kindle root]# iwconfig
lo no wireless extensions.

usb0 no wireless extensions.

wlan0 AR6000 802.11g ESSID:"home-wifi"
Mode:Ad-Hoc Frequency:2.457 GHz Cell: 86:6C:AF:29:291
Bit Rate=1 Mb/s Tx-Power=16 dBm Sensitivity=0/3
Retryn
Encryption key:****-****-****-****-****-****-** Security modepen
Power Managementff
Link Quality:63/94 Signal level:-32 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:4 Invalid misc:0 Missed beacon:0

[root@kindle root]# udhcpc -i wlan0
Sending discover...
Offer from server xxx.xxx.0.1 received
Sending select for xxx.xxx.0.131...
Lease of xxx.xxx.0.131 obtained, lease time 86400
[root@kindle root]# route add default gw 192.168.0.1
[root@kindle root]# echo nameserver 192.168.0.1 >> /etc/resolv.conf
[root@kindle root]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:336 (336.0 B) TX bytes:336 (336.0 B)

usb0 Link encap:Ethernet HWaddr EE:19:00:00:00:00
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:673 errors:0 dropped:0 overruns:0 frame:0
TX packets:545 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:50270 (49.0 KiB) TX bytes:71051 (69.3 KiB)

wlan0 Link encap:Ethernet HWaddr 28:EF:01:61:24:15
inet addr:192.168.0.131 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:0
TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4321 (4.2 KiB) TX bytes:1762 (1.7 KiB)

[root@kindle root]# ping google.com
PING google.com (74.125.87.99): 56 data bytes
64 bytes from 74.125.87.99: seq=0 ttl=53 time=515.918 ms
64 bytes from 74.125.87.99: seq=1 ttl=53 time=404.803 ms
64 bytes from 74.125.87.99: seq=2 ttl=53 time=476.451 ms
64 bytes from 74.125.87.99: seq=3 ttl=53 time=620.416 ms
^C
--- google.com ping statistics ---
5 packets transmitted, 4 packets received, 20% packet loss
round-trip min/avg/max = 404.803/504.397/620.416 ms

Built-in browser still is not working, but Internet radio works via mplayer.
Mode Ad-Hoc works!
craxycat is offline   Reply With Quote
Old 05-05-2011, 04:00 AM   #9
gslash
Junior Member
gslash began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2011
Device: kindle
Quote:
Originally Posted by craxycat View Post
[root@kindle root]# /etc/init.d/wifi stop
system: I wifi:def:WiFi Device mac = 28:EF:01:61:24:15
Platform set to SHASTA_NATIVEMMC-SDIO
Platform Setup Script is: /opt/ar6k/host/support/platformscripts/plat_SHASTA_NATIVEMMC-SDIO.sh
Image path: /sbin
..unloading all
system: I wifi:def:loadAR6000 finished, args=(unloadall)
[root@kindle root]# /etc/init.d/wifi --mode ibss
system: I wifi:def:WiFi Device mac = 28:EF:01:61:24:15
Platform set to SHASTA_NATIVEMMC-SDIO
Platform Setup Script is: /opt/ar6k/host/support/platformscripts/plat_SHASTA_NATIVEMMC-SDIO.sh
Image path: /sbin
No debug record limit set
Load Board Data from /opt/ar6k/target/AR6002/hw2.0/bin/lab126_15dBm_nodiv_WWR_CTL.bin
Updating MAC address
BMI Set App Start (address: 0x913950)
BMI Bit-Wise (OR) modify Register (address: 0x500410, orig:0x0, new: 0x1, mask:0x1)
BMI Write compressed Memory (address: 0x502070, filename: /opt/ar6k/target/AR6002/hw2.0/bin/athwlan.bin.z77)
BMI Write Memory (address: 0x52d6d0, filename: /opt/ar6k/target/AR6002/hw2.0/bin/data.patch.hw2_0.bin)
BMI Write Memory (address: 0x500418, value: 0x52d6d0)
BMI Done
system: I wifi:def:loadAR6000 finished, args=(--mode ibss)
[root@kindle root]# iwconfig wlan0 key s:********
[root@kindle root]# iwconfig wlan0 essid home-wifi
[root@kindle root]# iwconfig
lo no wireless extensions.

usb0 no wireless extensions.

wlan0 AR6000 802.11g ESSID:"home-wifi"
Mode:Ad-Hoc Frequency:2.457 GHz Cell: 86:6C:AF:29:291
Bit Rate=1 Mb/s Tx-Power=16 dBm Sensitivity=0/3
Retryn
Encryption key:****-****-****-****-****-****-** Security modepen
Power Managementff
Link Quality:63/94 Signal level:-32 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:4 Invalid misc:0 Missed beacon:0

[root@kindle root]# udhcpc -i wlan0
Sending discover...
Offer from server xxx.xxx.0.1 received
Sending select for xxx.xxx.0.131...
Lease of xxx.xxx.0.131 obtained, lease time 86400
[root@kindle root]# route add default gw 192.168.0.1
[root@kindle root]# echo nameserver 192.168.0.1 >> /etc/resolv.conf
[root@kindle root]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:336 (336.0 B) TX bytes:336 (336.0 B)

usb0 Link encap:Ethernet HWaddr EE:19:00:00:00:00
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:673 errors:0 dropped:0 overruns:0 frame:0
TX packets:545 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:50270 (49.0 KiB) TX bytes:71051 (69.3 KiB)

wlan0 Link encap:Ethernet HWaddr 28:EF:01:61:24:15
inet addr:192.168.0.131 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:0
TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4321 (4.2 KiB) TX bytes:1762 (1.7 KiB)

[root@kindle root]# ping google.com
PING google.com (74.125.87.99): 56 data bytes
64 bytes from 74.125.87.99: seq=0 ttl=53 time=515.918 ms
64 bytes from 74.125.87.99: seq=1 ttl=53 time=404.803 ms
64 bytes from 74.125.87.99: seq=2 ttl=53 time=476.451 ms
64 bytes from 74.125.87.99: seq=3 ttl=53 time=620.416 ms
^C
--- google.com ping statistics ---
5 packets transmitted, 4 packets received, 20% packet loss
round-trip min/avg/max = 404.803/504.397/620.416 ms

Built-in browser still is not working, but Internet radio works via mplayer.
Mode Ad-Hoc works!
In order to make the browser work, did you try issuing the command:
dbus-send --system /default com.lab126.wifid.cmConnected
gslash is offline   Reply With Quote
Old 09-26-2012, 06:20 PM   #10
hippy dave
Zealot
hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.
 
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
Quote:
Originally Posted by gslash View Post
In order to make the browser work, did you try issuing the command:
dbus-send --system /default com.lab126.wifid.cmConnected
after much messing about with stuff from this thread and elsewhere, i've got my k4 connected to my ad-hoc network (mobile phone hotspot, joikuspot), and i can ping, wget etc, but the framework/browser won't acknowledge the connection... the above command doesn't work, does anyone know anything else that might? thanks
hippy dave is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
If Ad hoc network on Onyx Boox ?? 3G possibilties with iPhone lolivierlol Onyx Boox 1 05-21-2010 02:56 PM
Help, please! Can't connect to network following repair dso371 iRex 2 03-06-2009 09:59 AM
Can't connect to network skoobwoman iRex 8 01-06-2009 03:23 AM
Can´t connect to wired network Eingang iRex 1 06-29-2008 08:14 PM
can't connect to wireless network RibRdb2 iRex 9 12-11-2007 09:40 PM


All times are GMT -4. The time now is 09:07 PM.


MobileRead.com is a privately owned, operated and funded community.