OpenSUSe Polaczenie z siecie jest, ale brak intenetu


(C0d3r89) #1

Witam.

mam linuxa opensuse 10.2, karte sieciowa dlink dwlg520 i zainstalowane sterowniki madwifi ( pakiet rpm z madwifi.org dla v.10.2). Poustawiałem adresy ( ip, mac etc.), mam polaczenie ale niemam neta ;/

LOGI:

Has�o:

linux:/home/linux # ifconfig ath0 down

linux:/home/linux # ifconfig ath0 hw ether adres_MAC

linux:/home/linux # ifconfig ath0 adres_ip

linux:/home/linux # ifconfig ath0 up

linux:/home/linux # iwconfig ath0 essid "ap"

linux:/home/linux # iwconfig ath0 ap 00:4f:62:0f:98:b6

linux:/home/linux # route add default gw adres_bramy

linux:/home/linux #

linux:/home/linux # iwconfig ath0

ath0 IEEE 802.11g ESSID:"ap" Nickname:"linux"

          Mode:Managed Frequency:2.457 GHz Access Point: 00:4F:62:0F:98:B6

          Bit Rate:1 Mb/s Tx-Power:18 dBm Sensitivity=1/1

          Retry:off RTS thr:off Fragment thr:off

          Encryption key:off

          Power Management:off

          Link Quality=20/70 Signal level=-75 dBm Noise level=-95 dBm

          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0

          Tx excessive retries:0 Invalid misc:0 Missed beacon:0


linux:/home/linux # netstat -nr

Kernel IP routing table

Destination Gateway Genmask Flags MSS Window irtt Iface

10.100.3.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0

127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

0.0.0.0 10.100.3.1 0.0.0.0 UG 0 0 0 ath0

linux@linux:~> su

Has�o:

linux:/home/linux # iwconfig

lo no wireless extensions.


eth0 no wireless extensions.


wifi0 no wireless extensions.


ath0 IEEE 802.11g ESSID:"ap" Nickname:"linux"

          Mode:Managed Frequency:2.462 GHz Access Point: 00:4F:62:0F:98:B6

          Bit Rate:1 Mb/s Tx-Power:18 dBm Sensitivity=1/1

          Retry:off RTS thr:off Fragment thr:off

          Encryption key:off

          Power Management:off

          Link Quality=17/70 Signal level=-78 dBm Noise level=-95 dBm

          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0

          Tx excessive retries:0 Invalid misc:0 Missed beacon:0


sit0 no wireless extensions.


linux:/home/linux # ifconfig

ath0 Link encap:Ethernet HWaddr adres_mac

          inet addr:adres_ip Bcast:10.100.3.255 Mask:255.255.255.0

          inet6 addr: fe80::20e:2eff:fea3:f255/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


eth0 Link encap:Ethernet HWaddr 00:11:D8:BD:B2:42

          UP BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

          Interrupt:177


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:236 errors:0 dropped:0 overruns:0 frame:0

          TX packets:236 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:17416 (17.0 Kb) TX bytes:17416 (17.0 Kb)


wifi0 Link encap:UNSPEC HWaddr 00-19-5B-CD-13-8C-00-00-00-00-00-00-00-00-00-00

          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

          RX packets:3991 errors:0 dropped:0 overruns:0 frame:9902

          TX packets:1995 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:199

          RX bytes:305948 (298.7 Kb) TX bytes:110114 (107.5 Kb)

          Interrupt:58

Podobno jest to wina braku bramy domsylnej, ale ustawiam ja poleceniem"

route add default gw adres_bramy

Moze wie ktos jak to naprawic, dlaczego tak sie dzieje?

Pozdrawiam

// Poprawiłem tytuł wątku.

Kaka'


(batiś) #2

możesz zmieniać ustawienia sieci przez Yast'a