Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-30-2016, 01:37 AM   #1
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
SSH over Wi-Fi: Fixed I.P for Kindle?

On my PW1(jailbroken), I am able to do an ssh login over wifi.
However, the I.P keeps changing between sessions(DHCP from router).
There doesn't seem to be any way in the pw1 settings to make this a fixed I.P., like in, say Ubuntu Linux.
This is useful for keeping a fixed setting on say, my laptop to do a SSH login, instead of checking what the current I.P is every time and then feeding that I.P into the SSH command/client.

After some fiddling, I got this to work:
In kterm, I entered: ip addr add <desired I.P> dev wlan0
<desired I.P> is something like x.y.z.99 which I know will never be allotted by the DHCP.
Now, I'm able to login on the new, fixed I.P. The above command could obviously be turned into a KUAL extension.

Some drawbacks:
1. Existing I.P got from DHCP is also retained(unless I do a "ip addr del .." command). I can continue logging in on this I.P too!
2. The new I.P is not persistent. It is lost even when the screensaver kicks in.

Request some help from you experts to polish this hack!
nasser is offline   Reply With Quote
Old 07-30-2016, 04:25 AM   #2
Yourcat
Groupie
Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.
 
Posts: 175
Karma: 54048
Join Date: Mar 2016
Device: PW3 5.6.5-usbnet
You router may have a configuration option to specify a static IP based on the MAC address of your Kindle. Did you check this already?
Yourcat is offline   Reply With Quote
Advert
Old 07-30-2016, 05:30 AM   #3
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
I checked. It doesn't.
nasser is offline   Reply With Quote
Old 07-30-2016, 05:34 AM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I'm fairly sure you can setup a WiFi connection manually with a static IP on the Kindle when you tap the "Advanced" (or whatever) settings in the device's connection manager. Probably have to forget your current settings to make it pop up, though.
NiLuJe is offline   Reply With Quote
Old 07-30-2016, 06:02 AM   #5
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
Hey, NiLuJe! That worked.
I never saw the "advanced" tab.. even after I "forgot" the network.
But, after your post, I fiddled around.. entered a wrong password.. which finally forced the popup.

So, no need for any hack. Well... increased my (microscopic) linux knowledge a bit.. anyway..
nasser is offline   Reply With Quote
Advert
Old 07-30-2016, 08:56 AM   #6
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by nasser View Post
Hey, NiLuJe! That worked.
I never saw the "advanced" tab.. even after I "forgot" the network.
But, after your post, I fiddled around.. entered a wrong password.. which finally forced the popup.

So, no need for any hack. Well... increased my (microscopic) linux knowledge a bit.. anyway..
Doing it that way is just fine when you only use a single Wifi network - say the one in your home.

It will cause you more trouble if your Kindle is used on more than that single Wifi network.

The proper place to do the assignment is in your router by MAC address.

# 11 22 0
knc1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle 4 NT: No SSH cinnagingercat Kindle Developer's Corner 92 11-06-2018 08:44 PM
M92: password and users (eg. ssh/ssh-server) lepau Onyx Boox 1 11-15-2013 11:46 AM
Can't SSH to my Kindle Alkhabiru Kindle Developer's Corner 16 08-06-2013 12:34 PM
how to ssh into Kindle thomass Amazon Kindle 4 04-11-2011 10:48 AM
ssh from Kindle 3 aKarma Kindle Developer's Corner 6 09-21-2010 08:59 PM


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


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