View previous topic :: View next topic |
Author |
Message |
Jykke Apprentice
Joined: 31 Mar 2006 Posts: 246
|
Posted: Tue May 29, 2007 7:08 pm Post subject: No success using static IPs with my FritzBox 7050 wlan |
|
|
I am only able to use dhcp
modules=( "wpa_supplicant" )
wpa_supplicant_ath0="-Dmadwifi"
essid_ath0="ESSIDWLAN"
key_ESSIDWLAN="s:xxxxxxx enc open"
preferred_aps=( "ESSIDWLAN" )
config_ath0=( "dhcp" )
If I use
config_ath0=( "192.168.178.22" )
if is no go
for example google:
# ping 209.85.135.99
connect: Network is unreachable
Still ifconfig gives exactly same information about ip-address
and subnet and so on in both cases - only in the second case
the network is somehow dud to the outside...I can still communicate
with router and so on but I won't get to internet... |
|
Back to top |
|
|
mudrii l33t
Joined: 26 Jun 2003 Posts: 789 Location: Singapore
|
Posted: Wed May 30, 2007 6:18 am Post subject: |
|
|
cat you ping you router ? _________________ www.gentoo.ro |
|
Back to top |
|
|
Jykke Apprentice
Joined: 31 Mar 2006 Posts: 246
|
Posted: Wed May 30, 2007 6:10 pm Post subject: |
|
|
Yes I am able to ping my router from 192.168.178.1 or alternatively I can also connect to it
with browser under fritz.box |
|
Back to top |
|
|
lpknnkh n00b
Joined: 31 May 2007 Posts: 3
|
Posted: Thu May 31, 2007 2:04 am Post subject: |
|
|
I think you need specify the defalt Broadcast Address like 192.168.1.255, and default gateway or route address:
config_eth0=("192.168.1.2/24 bd 192.168.1.255")
route_eth0=("route gw 192.168.1.1") #gateway
route_eth0=("route via 192.168.1.x") # route |
|
Back to top |
|
|
Jykke Apprentice
Joined: 31 Mar 2006 Posts: 246
|
Posted: Thu May 31, 2007 6:27 pm Post subject: |
|
|
Well I've tried something like this:
config_ath0=( "192.168.178.22/24 netmask 255.255.255.0 broadcast 192.168.178.255" )
and
dns_servers_ath0=( "192.168.178.1" )
and stuff like that 192.168.178.1 being the router's ip - no joy.
What IPs should I give as "route" and "gateway" and where can I find what it is currently using with dhcp? |
|
Back to top |
|
|
|