You are not logged in.

#1 2008-06-18 21:22:14

Cew27
Member
Registered: 2008-06-16
Posts: 197

help me get wireless

hey guys i have the intel 3945 wireless chip with the drivers installed but i cant see wlan0 in if config and with iwconfig it appears as the the card is switched off. if you need me to post any files here i will
cheers

Offline

#2 2008-06-18 21:32:34

Cew27
Member
Registered: 2008-06-16
Posts: 197

Re: help me get wireless

oh and when i login i get this
"could not looj up internet acess adress for my host. this will prevent xfce from operating correctly. it may be possible to correct the problem by adding myhost to the file /etc/hosts on your system"

Offline

#3 2008-06-18 21:42:16

mfolnovic
Member
From: Zagreb, Croatia
Registered: 2008-01-03
Posts: 104

Re: help me get wireless

could you give us output of iwconfig ?

Offline

#4 2008-06-18 22:34:20

JeremyTheWicked
Member
From: Poland
Registered: 2008-05-23
Posts: 193

Re: help me get wireless

There are two drivers for this card: ipw3945 and iwl3945. I don't know which one you're using. In case you're using the iwl3945 one (which is recommended) you should install iwlwifi-3945-ucode, i.e. the firmware for the card. If you're using ipw3945 then if I recall correctly your card will be recognized as eth1 instead of wlan0. (I have this exact same card but I've gone for the iwl3945 option)


arch(3) adj amused because you think you understand something better than other people ;P

Offline

#5 2008-06-19 16:58:01

Cew27
Member
Registered: 2008-06-16
Posts: 197

Re: help me get wireless

how can i tell what package i installed ?

Offline

#6 2008-06-19 17:07:17

Cew27
Member
Registered: 2008-06-16
Posts: 197

Re: help me get wireless

lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11g  ESSID:""  
          Mode:Managed  Channel:0  Access Point: Not-Associated   
          Tx-Power=0 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B   
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[cew27@myhost ~]$

here is my rc.conf

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_UK.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="yes"
TIMEZONE="Canada/Pacific"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(r8169 iwl3945 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="myhost"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(gateway)
 
# Enable thes
e network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng iw3945 @network !netfs @alsa !crond @hal @fam slim)

cheers !

Offline

#7 2008-06-19 19:14:38

pseudonomous
Member
Registered: 2008-04-23
Posts: 349

Re: help me get wireless

Cew27 wrote:

how can i tell what package i installed ?

Your rc.conf file makes it look like you have iwl3945 installed, but you should be able to check using pacman.  Type

pacman -Ss iwl3945

If this is installed, when the search completes you should find the "iwl3945" package listed in the search results followed by "installed".  Use  ipw3945 instead to check if that driver is installed.

Actually:

pacman -Q iwl3945

might work faster, this only displays installed packages.

Assuming you are using the iwl3945 driver, I don't think you need to put "iwl3945" into the daemons section of rc.conf. 

If you use the  ipw3945 driver, you DO need  ipw3945d in the the daemons part of your rc.conf.

If you don't have either driver installed, you need to use pacman to download one, plus the firmware.  If you've been reading:

http://wiki.archlinux.org/index.php/Wireless_Setup

then you should note the differences between using the two different drivers.  If you can't get either driver to work, you can, as the article suggests, try using the windows driver and ndiswrapper.

Last edited by pseudonomous (2008-06-19 19:19:55)

Offline

#8 2008-06-19 19:18:49

pseudonomous
Member
Registered: 2008-04-23
Posts: 349

Re: help me get wireless

Cew27 wrote:

oh and when i login i get this
"could not looj up internet acess adress for my host. this will prevent xfce from operating correctly. it may be possible to correct the problem by adding myhost to the file /etc/hosts on your system"

This might mean your "/etc/hosts" is not properly configured or doens't match your /etc/rc.conf file see:

http://wiki.archlinux.org/index.php/Beginner's_Guide#.2Fetc.2Fhosts

Hope this helps.

Offline

#9 2008-06-19 20:24:08

Cew27
Member
Registered: 2008-06-16
Posts: 197

Re: help me get wireless

yeah! fixed (sortof)
when i boot  and login i get a terminal window (how can i disable this) and i have to run iwlist wlan0 scan before the network will connect? how can i fix this?
also are there any good icon themes for xfce like a dark one?
thanks

Offline

#10 2008-06-19 20:45:16

pseudonomous
Member
Registered: 2008-04-23
Posts: 349

Re: help me get wireless

Try:

http://www.xfce-look.org/index.php?xcontentmode=102

for xfce themes.

I'm assuming you now can connect to the internet via wireless, and want to know how to automate the process so you don't need to do this manually
every time you start up your computer.  My personal solution was to use the "netcfg" package to set up network profiles that let me access the three networks I need to access w/ my laptop.  "netcfg" is, I think, installed by default now.  If not, get it w/ pacman.

I recommend reading the wiki page on "netcfg", if you take this approach.  If you are accessing alot of different wireless networks, you might look for a third party front end, like Wifiradar or NetworkManager.  But I don't know much about these.

I'm confused about what you want to disable.  Do you mean when you login and XFCE starts, a terminal window opens?

Or do you mean, when you login, you are getting a console?  If this is the case, something is probably wrong with your login manager.  It could be something as simple as, you have "console login" selected as the type of session you are starting.

Offline

#11 2008-06-19 21:27:37

Cew27
Member
Registered: 2008-06-16
Posts: 197

Re: help me get wireless

when i login i get the desktop as normal but i have a terminal window open, ill look into the netcfg

Offline

#12 2008-06-19 22:25:23

pseudonomous
Member
Registered: 2008-04-23
Posts: 349

Re: help me get wireless

I don't know that much about XFCE, since I use KDE and Fluxbox mainly, but in KDE, if you leave a program open.  End sessions.  Login again,  it will reopen the programs that were open before.  (Actually, this depends on your configuration, but in the default configuration I think it does this)

So it might be that XFCE is doing the same thing, and you had a Terminal open when you closed down last time.

It's also possible, that your login managers configuration file tells it to open a Terminal when it starts up XFCE. I don't use SLIM (which is in your rc.conf. so I assume it's what you are using), but if you read its man page, you can probably find and view it's configuration file, and see if that's what's opening a Terminal.

Offline

#13 2008-06-20 05:31:26

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: help me get wireless

Cew27 wrote:

oh and when i login i get this
"could not looj up internet acess adress for my host. this will prevent xfce from operating correctly. it may be possible to correct the problem by adding myhost to the file /etc/hosts on your system"

Your whole network setup is borked from the ground... At least get your localhost set up decently before you try to access a network outside your box.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB