Tema: paaiškinkit kas nors apie lan
Autorius: olismuolis@gmail.com
Data: 2011-02-09 20:34:05
esu visiškai tupas... :(
Kokie failai atsakingi už lano nustatymus?
Man nė iš šio nė iš to atsisakė wlan0 konfigas (po python upgreido).
Ką pažįstu papostinsiu:

----------------------------------------------------------------------------->
mybox ~ # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use  
Iface
192.168.1.0     *               255.255.255.0   U     0      0        0  
eth0
loopback        *               255.0.0.0       U     0      0        0 lo
default         192.168.1.1     0.0.0.0         UG    0      0        0  
eth0

mybox ~ # cat /etc/conf.d/net
	config_eth0=( "192.168.1.77/24" )
	routes_eth0=( "default via 192.168.1.1" )
	config_wlan0=( "192.168.1.55 netmask 255.255.255.0" )
	mode_wlan0="Managed"
	essid_wlan0="ot"
	channel_wlan0="6"
	key_ot="s:molis enc open"
	config_wlan0=( "dhcp" )
	#dhcpcd_wlan0="-t 30" # Timeout after 30 seconds
	#modules=( "wpa_supplicant" )
	#wpa_supplicant_wlan0="-Dmadwifi"


mybox ~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:21:85:4e:36:be
           inet addr:192.168.1.77  Bcast:192.168.1.255  Mask:255.255.255..0
           inet6 addr: fe80::221:85ff:fe4e:36be/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:2542 errors:0 dropped:0 overruns:0 frame:0
           TX packets:2467 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:1038621 (1014.2 KiB)  TX bytes:353408 (345.1 KiB)
           Interrupt:42

lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:150 errors:0 dropped:0 overruns:0 frame:0
           TX packets:150 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:5847 (5.7 KiB)  TX bytes:5847 (5.7 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:21:85:85:e3:a5
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:113 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:0 (0.0 B)  TX bytes:4938 (4.8 KiB)
           Interrupt:18 Memory:f8050000-f8050100
------------------------------------------------------------------------<

čia matau, kad wlan0 trūksta IP

dar kartą rankiniu būdu pereinu:
	mybox ~ # ifconfig wlan0 192.168.1.55
	mybox ~ # iwconfig wlan0 mode Managed
	mybox ~ # iwconfig wlan0 essid ot key s:*****
	mybox ~ # dhcpcd wlan0


tada suveikia. O kas tokio sukonfigūruota negerai, kad automatiškai  
neužsimeta IP? Ir resolv.conf
nameserver dingsta po kompo perleidimo.

--
gentoo