Tiny Core Base > CorePlus
Can you setup Wifi with a static ip address?
Trace:
The DHCP in my hardware router is off .....
The address I am using is the same one that I use from the same laptop when I am trying different distro's on it.
This static ip address works fine with this laptop and router with : windows, BT5, puppy, etc.
It does not work with tc and slitaz and these both seem to have the same problem of udhcpc always being invoked and so by the process of trial and error and the harware always being the same it is not the address that is at fault.
slitaz also uses wpa_supplicant and wpa_gui for setup and even with that seems impossible to use without udhcpc always starting which is why I am trying to find a working example from someone who has done it.
I get the feeling noone here has actually ever done this?
gerald_clark:
Once you have the interface associated with your access point, just use ifconfig to assign an IP address.
Trace:
Yes I can do that but can't connect without using wifi.sh to enter wpa-psk key which starts udhcpc and so fails to connect.
I am writing this using the same static ip and hardware right now from vista and can reboot and do the same from puppy and various other distro's using the same address.
So it seems it's udhcpc that is the problem and noone knows how to stop it running.
gerald_clark:
You do NOT need to run wifi.sh
Research iwconfig and wpa_supplicant.
bmarkus:
--- Quote from: Trace on January 30, 2014, 02:44:41 PM ---So it seems it's udhcpc that is the problem and noone knows how to stop it running.
--- End quote ---
You can kill udhcpc with kill command. For process number look around in /var/run
You can disable it with nodhcp boot code, see
http://tinycorelinux.net/faq.html#bootcodes
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version