Tiny Core Base > CorePlus

Can you setup Wifi with a static ip address?

<< < (2/11) > >>

tinypoodle:

--- Quote from: beerstein on January 30, 2014, 06:40:27 AM ---If you have a static IP address on your system the router can not see it.

--- End quote ---

How so?

Juanito:

--- Quote from: beerstein on January 30, 2014, 06:40:27 AM --- First set up your TCL system using DHCP (automatic address assignment) then check which IP your system has been assigned  to. (using ifconfig)  It will be an address inside the routers address range. Make a note of it and assign this address as a static address to your TCL system.

--- End quote ---

I'm no expert, but I thought it was good practise to set a static ip address outside of the dhcp address range?

tinypoodle:

--- Quote from: Juanito on January 30, 2014, 07:09:40 AM ---I'm no expert, but I thought it was good practise to set a static ip address outside of the dhcp address range?

--- End quote ---

Absolutely

Trace:
OK .... here's some more facts:

Coreplus is installed on USB flashdrive from a latest version live CD.

nodhcp was chosen as one of the permanent boot options during install and is still there.

My hardware router has it's integrated DHCP turned off (we have multiple Xbox's here and have to use static addresses for each to avoid confusion).

Everything here laptop's, phone's, tablet's etc. are all set with individual static addresses and work with no problems.

What I am looking for is a way to setup my latest coreplus to automatically connect after booting with a static ip address.

From the way everybody is talking it seems like it should be really simple but for me no matter what I try when I try to connect and enter my tkip password .... it always starts UDHCPC and broadcasts for a lease .... which of course it never gets because DHCP is turned off in my hardware router.

I've tried different ways using nodhcp bootcode etc. and all the scripts and instructions I could find e.g.:

pkill udhcpc
ifconfig wlan0 (static address) netmask 255.255.255.0 up
route add default gw (gateway address)
echo "nameserver 8.8.8.8" > /etc/resolv.conf

and putting that in bootlocal.sh.

No matter what I try ... when I click on the wifi icon and enter my network and tkip key ..... UDHCPC always runs ????

I'll try the "nodhcp norestore"    and   "sudo ifconfig interface address"   but this seems very similar to what I've tried before.

Are you guys using static addresses over wifi?

gerald_clark:
Don't run wifi.sh.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version