Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

wireless network - why does it just work in windows?

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
eis
Apprentice
Apprentice
User avatar
Posts: 161
Joined: Fri Aug 05, 2005 10:07 pm
Location: Stuttgart, Germany

wireless network - why does it just work in windows?

  • Quote

Post by eis » Sat Sep 22, 2007 7:16 pm

Hi everyone!

ok, i just moved house and need to connect to a new wlan.
In Windows I could connect with dhcp without problems. I know macaddress of the router and dhcp gives me the following ip:
192.168.1.105

In current Ubuntu linux with GNOME I could connect after doing like ten times the same thing, sometimes using dhcp and sometimes setting the ip myself. With the one that worked in windows.

In gentoo I don't suceed...
I have IPW2200 in a dell centrino notebook.

here my ifconfig:

---
# ifconfig

eth0 Protokoll:Ethernet Hardware Adresse 00:11:43:6F:4F:7F
inet Adresse:192.168.178.18 Bcast:192.168.178.255

Maske:255.255.255.0
UP 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
Kollisionen:0 Sendewarteschlangenl?nge:1000


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



eth1
Protokoll:Ethernet
Hardware Adresse 00:12:F0:0D:56:4C

inet Adresse:192.168.1.105 Bcast:192.168.1.255 Maske:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:47 errors:21 dropped:58 overruns:0 frame:0

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

Kollisionen:0 Sendewarteschlangenl?nge:1000

RX bytes:396 (396.0 b) TX bytes:7032 (6.8 Kb)

Interrupt:18 Basisadresse:0xa000 Speicher:dfcfd000-dfcfdfff

lo
Protokoll:Lokale Schleife

inet Adresse:127.0.0.1 Maske:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1


RX packets:346 errors:0 dropped:0 overruns:0 frame:0
TX packets:346 errors:0 dropped:0 overruns:0 carrier:0


Kollisionen:0 Sendewarteschlangenl?nge:0
RX bytes:31310 (30.5 Kb) TX bytes:31310 (30.5 Kb)
---

and here is my /etc/conf.d/net
I tried it with and without the following lines:
routes_eth1=( "default gw 192.168.1.1" )
config_eth1=( "192.168.1.18 netmask 255.255.255.0 broadcast 192.168.1.255" )

If I start the service "net.eth1 start", usually dchp client finds mz network Ordifax and tries to connect and then times out..

---

# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).

# Von mir konfiguriert. mit festn ips und gateway.
# net.eth1 ist wlan und wird in wireless configuriert. Basta.



modules=( "ifconfig" )

modules=( "dhcpcd" )



config_eth0=( "dhcp" )

routes_eth0=( "default gw 192.168.178.1" )

config_eth0=( "192.168.178.18 netmask 255.255.255.0 broadcast 192.168.178.255" )

#config_eth0=( "192.168.178.26 netmask 255.255.255.0 broadcast 192.168.178.255" )




config_eth1=( "dhcp" )

routes_eth1=( "default gw 192.168.1.1" )

config_eth1=( "192.168.1.18 netmask 255.255.255.0 broadcast 192.168.1.255" )



#fallback_eth0=( "dhcp" )


#fallback_eth1=( "arping" )


arping_sleep=4

arping_wait=3


dhcpcd_eth0="-t 8"

dhcpcd_eth1="-t 8"



### WEPs, also keys:
# das s: heisst ein text key, ohne s: ist es ein hex key.
# Mit ' ' kann man luecken in der WLAN Bezeichnung schreiben.

# "enc open" oder "enc restricted"



key_Ordifax="s:PASSWD enc open"

#key_bebel="1234567890 enc open"


# Mit MAC Adresse des AccessPoints:

#mac_key_424783492(MACADRESS)="s:'foo bar' enc open"

#mac_key_00131094A3BB="s:PASSWD enc open"


#mode_eth1="auto"
#adhoc_essid_eth1="Ordifax"

#config_Links_World=( "192.168.178.18" )


## 18 ist fuer ethernet

#config_Links_World=( "192.168.178.26" )

#config_Links_World=( "192.168.178.3" )




### Nicht unbedingt noetig, 10-13 fuer France, 1-13 fuer Europe. 8 fuer St Andre.

#channel_eth1="8"

---

### Nicht noetig, aber wenn treiber ne Sekunde braucht, bevor die Karte scannen kann:
#sleep_scan_eth1="1"

#associate_timeout_eth1="5"

preferred_aps_eth1=( "Ordifax" "Links_World" "Area_51" "bebel" )

#associate_order_eth1="preferredonly"

#associate_order="any"



### Advanced Config:

#keine


---

would be verz grateful for anz ideas or help!

cheers,
boris
Top
yuwy
n00b
n00b
Posts: 38
Joined: Mon May 22, 2006 5:47 pm

  • Quote

Post by yuwy » Sun Sep 23, 2007 3:32 am

im assuming 'iwconfig' shows you a wireless extension?
Top
eis
Apprentice
Apprentice
User avatar
Posts: 161
Joined: Fri Aug 05, 2005 10:07 pm
Location: Stuttgart, Germany

  • Quote

Post by eis » Sun Sep 23, 2007 6:49 pm

ok. update:
I write my outputs here:

///

inglese ~ # ifconfig
eth0 Protokoll:Ethernet Hardware Adresse 00:11:43:6F:4F:7F
inet Adresse:192.168.178.18 Bcast:192.168.178.255 Maske:255.255.255.0
UP 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
Kollisionen:0 Sendewarteschlangenl?nge:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:19

lo Protokoll:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:117 errors:0 dropped:0 overruns:0 frame:0
TX packets:117 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenl?nge:0
RX bytes:11081 (10.8 Kb) TX bytes:11081 (10.8 Kb)

inglese ~ # iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

tunl0 no wireless extensions.

eth1 IEEE 802.11b ESSID:"linksys"
Mode:Managed Frequency:2.437 GHz Access Point: 00:0C:41:76:C3:A8
Bit Rate:11 Mb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=65/100 Signal level=-61 dBm Noise level=-89 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:40 Missed beacon:10

///

inglese ~ # /etc/init.d/net.eth1 start
* Starting eth1
* Configuring wireless network for eth1
* eth1 connected to ESSID "Ordifax" at 00:13:10:94:A3:BB
* in managed mode on channel 8 (WEP enabled - open)
* Bringing up eth1
* 192.168.1.118 [ ok ]
* Adding routes
* default gw 192.168.1.1 ... [ ok ]
inglese ~ # ping www.google.ca

inglese ~ #

///

inglese conf.d # /etc/init.d/net.eth1 start
* Starting eth1
* Configuring wireless network for eth1
* eth1 connected to ESSID "Ordifax" at 00:13:10:94:A3:BB
* in managed mode on channel 8 (WEP enabled - open)
* Bringing up eth1
* 192.168.1.118 [ ok ]
inglese conf.d # ping www.google.com

///

now what one should know:

linksys is an other wlan, currently unsecured, from where I could even get an ip, but still pinging google and browsing the web no work...

well.
I am also willing to make some efforts myself to fix this problem. I just dont know what to do...

so far,

boris
Top
Post Reply

3 posts • Page 1 of 1

Return to “Networking & Security”

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