Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No success using static IPs with my FritzBox 7050 wlan
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Jykke
Apprentice
Apprentice


Joined: 31 Mar 2006
Posts: 246

PostPosted: Tue May 29, 2007 7:08 pm    Post subject: No success using static IPs with my FritzBox 7050 wlan Reply with quote

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
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Wed May 30, 2007 6:18 am    Post subject: Reply with quote

cat you ping you router ?
_________________
www.gentoo.ro
Back to top
View user's profile Send private message
Jykke
Apprentice
Apprentice


Joined: 31 Mar 2006
Posts: 246

PostPosted: Wed May 30, 2007 6:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
lpknnkh
n00b
n00b


Joined: 31 May 2007
Posts: 3

PostPosted: Thu May 31, 2007 2:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Jykke
Apprentice
Apprentice


Joined: 31 Mar 2006
Posts: 246

PostPosted: Thu May 31, 2007 6:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum