Quote:
Originally Posted by knc1
Ah, so - A networking new comer. 
|
Er, no, I've been doing MAC/WIN/*NIX support for decades.
I just
feel really stoopid when I'm playing with all these fun files and brand new toys of yours here and I find myself in a position where I suddenly don't understand something--too many balls to juggle, or too many interfaces to maintain.
It's only in the forums here that I get to return to the cutting edge where I genuinely have to put my learning hat back on again.
Quote:
Originally Posted by knc1
You showed the panel to setup the Wifi interface address - And you wrote about setting the USBnetwork interface address in its config file.
If both IP address numbers where the same - -
for instance, how would your router know if a packet should be sent out over the air (wifi) or over a wired connection to reach the Kindle?
|
WiFi over USB... and my head spins yet again.
The Kindle gets its IP address from the Advanced Settings I gave it in the WiFi panel.
The SSHD gets its IP address from its config file. No, wait, that was the USBNetwork interface, not the SSHD.
So here's where I'm really in the muck. The Kindle has its own IP address of 1.114. Then, the USBN-SSHD interface needs 1) its own local and 2) LAN IP address, and it needs to talk to my LAN. My LAN is x.x.1.x, so any IP addresses assigned to the USBN-SSHD interface also need to be on x.x.1.x.
(In the one line sketch below, the 15s come from the README.)
K (x.x.1.114) <---> (15.201) USBN (15.240) <---> LAN (x.x.1.x)
Then they're set to .15.x by default, and I have to change them to match my config. How do I change both internal and external IPs? The config file has only one IP address. There's something I'm overlooking or something I'm not taking into consideration.
Quote:
Originally Posted by knc1
Code:
# cat /etc/hostname
kindle
# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost kindle
192.168.15.200 usbnet-host-gw
Just post when your head stops spinning and we will give you another dose.
|
I'm guessing the .15.200 line was >> to the hosts file by the USBNet binary.
So, I set the IP of the Kindle by its WiFi Setting setting. (1 below?)
Then there's a hosts IP for USBNet. (3?)
Then there's a config IP for, uh, (2?)
Kindle-(#1) <> (#2)-USBNet-(#3) <> WiFi LAN
Kindle-(#1) <> WiFi LAN
Go ahead--
hit me. I think I deserve it. ;-)
Thanks.