Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Polskie forum (Polish) Instalacja i sprzęt
  • Search

[net/Dlink dwl-520+]podnoszenie Sieci za pomocą DHCP

Pytania i problemy związane z instalacją Gentoo oraz sprzętem

Moderator: SlashBeast

Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
TAXIarz
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 121
Joined: Tue Apr 26, 2005 12:21 pm
Location: Klodzko[Poland]

[net/Dlink dwl-520+]podnoszenie Sieci za pomocą DHCP

  • Quote

Post by TAXIarz » Mon Dec 12, 2005 9:23 pm

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

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

Podaje wynik poleceń:

Code: Select all

#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: Select all

#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: Select all

#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: Select all

#lsmod
Module                  Size  Used by
ndiswrapper           122268  0

Code: Select all

#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/h ... t=4&chap=1

Code: Select all

# cd /etc/init.d
# ln -s net.lo net.wlan0
W /etc/conf.d/net umieszczam wpis?

Code: Select all

config_wlan0=( "dhcp" )
Dodaje jeszcze

Code: Select all

# rc-update add net.wlan0 default
Nie wiem, czy muszę w /etc/host wpisać

Code: Select all

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: Select all

#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: Select all

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: Select all

ifconfig_acx0="dhcp ssid \"PBSI 13.1\""
Sieć się sama podnosiła.

Proszę o pomoc.
Top
Callem
n00b
n00b
User avatar
Posts: 64
Joined: Thu May 20, 2004 3:07 pm

  • Quote

Post by Callem » Wed Dec 14, 2005 3:56 pm

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
Top
TAXIarz
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 121
Joined: Tue Apr 26, 2005 12:21 pm
Location: Klodzko[Poland]

  • Quote

Post by TAXIarz » Wed Dec 14, 2005 8:12 pm

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

W /etc/conf.d/net

Code: Select all

config_PBSI \"\\ 13.1=( "dhcp" )
dhcpcd_PBSI \"\\ 13.1="-t 5"
W /etc/conf.d/wireless

Code: Select all

essid_wlan0="PBSI \"\\ 13.1"
Logika zapisu wydaje się inna niż pod *BSD

W /etc/rc.conf

Code: Select all

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.
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Instalacja i sprzęt”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic