tempestuous wrote:OK, just run -Code: Select all
depmod
already run.undorik wrote: I've run only depmod... and nothing happened.
tempestuous wrote:OK, just run -Code: Select all
depmod
already run.undorik wrote: I've run only depmod... and nothing happened.
"Nothing" means that the command ran successfully. So now you're ready to proceed.undorik wrote:I've run only depmod... and nothing happened.
Code: Select all
ifconfig eth0 down
ifconfig wlan0 down
iwconfig wlan0 mode Master
Code: Select all
ifconfig br0 192.168.0.xx broadcast 192.168.0.255 netmask 255.255.255.0
route add default gw 192.168.0.1 br0
Code: Select all
hostapd /etc/hostapd.conf -dd
Code: Select all
ifconfig eth0 down
ifconfig eth0 0.0.0.0 up
modprobe bridge
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 wlan0
ifconfig br0 192.168.0.xx broadcast 192.168.0.255 netmask 255.255.255.0
route add default gw 192.168.0.1 br0
0.0.0.0 is an invalid IP address. It means that your device has no IP address.undorik wrote:BTW why both eth0 and wlan0 have 0.0.0.0?
That's great. Since my original instructions are wrong, I will need to test this setup, myself, and update the instructions.undorik wrote:Probably it is working!
I see my wifi spot in list!!!
Ah, this is a problem. My instructions assume that your ethernet connection to the internet is via a router, but I suspect your situation is different - you have some form of modem with a single ethernet connection, right? Can you tell us the exact brand/model?undorik wrote:my phone stuck in "getting IP address" state.
...
I have only one IP from my ISP and there is no dhcp.
...
My ISP gave me
IP 10.184.92.x/22
Exact situation: Cold and snowy Russia, old 9-story building with 7 flats per floor and cunning ISP which for some reason give IP (no pppoe/dsl etc.). Probably ISP binds IP (or mac) with billing.tempestuous wrote: Ah, this is a problem. My instructions assume that your ethernet connection to the internet is via a router, but I suspect your situation is different - you have some form of modem with a single ethernet connection, right? Can you tell us the exact brand/model?
I can't understand in our scheme how bridge is working.tempestuous wrote: Without a router, only one device can connect to the internet at the same time. Your Puppy computer grabs the IP address (10.184.92.x/22) so your Android phone cannot connect.
I agree that it would be the easiest waytempestuous wrote: Solution 2:
Buy a router!
Yes, that's correct.undorik wrote:ISP -> Ethernet cable -> puppy laptop ( with internet access and 0.0.0.0 address) -> logical bridge with static 10.184.92.x/22 -> wifi without IP (?)
Yes, that's effectively turning your Puppy computer into a router. Puppy would treat the ethernet interface as WAN (10.184.92.x), then create a separate LAN at the wifi interface (192.168.0.x). There are various HOWTO's on the internet, such as -undorik wrote:May be use NAT somehow...