Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[net/Dlink dwl-520+]podnoszenie Sieci za pomocą DHCP
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
TAXIarz
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2005
Posts: 121
Location: Klodzko[Poland]

PostPosted: Mon Dec 12, 2005 9:23 pm    Post subject: [net/Dlink dwl-520+]podnoszenie Sieci za pomocą DHCP Reply with quote

Kłopot jest z ustawieniem, aby DHCP przyznał
mi IP itd.

Za pomocą ndiswrapper wykonałem "pomost"
sterów WinXP.

Podaje wynik poleceń:
Code:

#ifconfig wlan0

wlan0     Link encap:Ethernet  HWaddr 00:0F:3D:62:CE:05
          BROADCAST 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)
          Memory:e9010000-e9010fff


Code:

#iwconfig wlan0

wlan0     IEEE 802.11b  ESSID:off/any
          Mode:Managed  Frequency:2.442 GHz  Access Point: 00:00:00:00:00:00
          Bit Rate:11 Mb/s   Tx-Power:0 dBm   Sensitivity=0/3
          RTS thr:4096 B   Fragment thr:4095 B
          Encryption key:off
          Power Management:off
          Link Quality:98/100  Signal level:-62 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2  Invalid misc:16   Missed beacon:


Code:

#iwlist wlan0 scan

wlan0     Scan completed :
          Cell 01 - Address: 00:0C:41:67:BD:B6
                    ESSID:"PBSI 13.1"
                    Protocol:IEEE 802.11FH
                    Mode:Managed
                    Frequency:2.442 GHz (Channel 7)
                    Quality:0/100  Signal level:77/154  Noise level:0/154
                    Encryption key:off
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0



Code:

#lsmod
Module                  Size  Used by
ndiswrapper           122268  0


Code:

#dmesg
wlan0: ndiswrapper ethernet device......


Moduł ndiswrapper.ko jest ładowany automagicznie.

Idąc za handbookiem z oficjalnej strony Gentoo
http://www.gentoo.org/doc/pl/handbook/handbook-x86.xml?part=4&chap=1

Code:

# cd /etc/init.d
# ln -s net.lo net.wlan0


W /etc/conf.d/net umieszczam wpis?
Code:

config_wlan0=( "dhcp" )


Dodaje jeszcze
Code:

# rc-update add net.wlan0 default


Nie wiem, czy muszę w /etc/host wpisać
Code:

127.0.0.1     localhost    moja_nazwa_hosta


Rebootowałem maszynę i faktycznie coś szuka.

Pragnę zaznaczyć, że ponad rok temu
łączyłem się "typowo z palca", tzn.
Code:

#iwconfig wlan0 essid "PBSI 13.1"
#iwconfig wlan0 channel 7
#ifconfig wlan0 192.168.131.196 up

#route add default gw 192.168.131.254


Ręcznie zmieniałem /etc/resolv.conf wpisując
Code:

192.168.131.254
80.55.205.178
194.204.151.1


Pod FreeBSD instalowałem za pomocą
acx100 potem zmieniałem tylko wpis w /etc/rc.conf
Code:

ifconfig_acx0="dhcp ssid \"PBSI 13.1\""


Sieć się sama podnosiła.

Proszę o pomoc.
Back to top
View user's profile Send private message
Callem
n00b
n00b


Joined: 20 May 2004
Posts: 64

PostPosted: Wed Dec 14, 2005 3:56 pm    Post subject: Reply with quote

Polecam /etc/conf.d/wireless.example i na tej podstawie dokonanie odpowiednich wpisów w pliku /etc/conf.d/wireless
Może się jeszcze przydać to HOWTO na Gentoo Wiki
Back to top
View user's profile Send private message
TAXIarz
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2005
Posts: 121
Location: Klodzko[Poland]

PostPosted: Wed Dec 14, 2005 8:12 pm    Post subject: Reply with quote

Po przeczytaniu /etc/conf.d/wireless.example
sądzę, że powinienem dodać takie wpisy:

W /etc/conf.d/net
Code:

config_PBSI \"\\ 13.1=( "dhcp" )
dhcpcd_PBSI \"\\ 13.1="-t 5"


W /etc/conf.d/wireless
Code:

essid_wlan0="PBSI \"\\ 13.1"


Logika zapisu wydaje się inna niż pod *BSD

W /etc/rc.conf
Code:

ifconfig_acx0="dhcp ssid \"PBSI 13.1\""


Proszę o ewentualne poprawki, bo zdaje się,
że pracownicy mojej Sieci, nie oriętują się,
jak skonfigurować swoją Sieć pod GNU/Linux
Gentoo, na komputerze klienta.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt 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