You are not logged in.

#1 2008-02-28 06:44:42

Misbah
Member
Registered: 2008-02-27
Posts: 218

Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

deleted

Last edited by Misbah (2012-02-14 05:59:23)

Offline

#2 2008-02-28 07:51:10

ploub
Member
Registered: 2007-05-16
Posts: 132

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

I hope you read http://wiki.archlinux.org/index.php/Beg … T_PANIC.21 page in the Beginner's Guide! Seriously it took me 3 weeks to get my ralink up and running. OMMMMMMMMMM.
Did you set up your locale as shown in the Guide?
Loopback device: http://en.wikipedia.org/wiki/Loopback_device. I think the line should be left in as well as 'lo' in the INTERFACES line.
As you are behind a router leave the gateway line in and remove the ! from the ROUTES line if it's there.
Here is the networking section from my rc.conf:

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="mesh"
#
# 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
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
#eth0="dhcp"
ra0="dhcp"
wlan_ra0="ra0 essid guillouas"
#wlan_ra0="mode managed"
wlan_ra0="ra0 key xxx"
WLAN_INTERFACES=(ra0)
INTERFACES=(lo !eth0 ra0)

#
# 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.1.1"
ROUTES=(gateway)
#
# Enable these 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-profiles
#
#NET_PROFILES=(main)

#
# -----------------------------------------------------------------------

HTH

Offline

#3 2008-02-28 08:50:29

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

The future way for Archlinux to handle all network connections is through netcfg2, which is still in testing but is already very stable.

More info: http://wiki.archlinux.org/index.php/Network_Profiles

IMHO it is very easy to make a profile and your rc.conf will be easier, since you can comment out everything, leaving only NETWORKS=(<enter your profiles>) in there and replacing 'network' with 'net-profiles' to DAEMONS=().

Zl.

Offline

#4 2008-02-28 12:20:01

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

ploub wrote:

Loopback device: http://en.wikipedia.org/wiki/Loopback_device. I think the line should be left in as well as 'lo' in the INTERFACES line.

FYI, lo is always initialized in new initscripts and is no longer in the default rc.conf


to live is to die

Offline

#5 2008-02-28 15:13:03

Misbah
Member
Registered: 2008-02-27
Posts: 218

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

deleted

Last edited by Misbah (2012-02-14 05:59:38)

Offline

#6 2008-02-28 15:35:33

ploub
Member
Registered: 2007-05-16
Posts: 132

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

You will need to remove the ! from !gateway if you are behind a router.
You need to run

locale-gen

as root after setting the locale.
I also get the SIOCDLERT(?) error on boot and shutdown with the big red fail but I still connect ok, I don't know what it means.
Well keep on plugging away, you're nearly there smile

Offline

#7 2008-02-28 15:42:36

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

ploub wrote:

You will need to remove the ! from !gateway if you are behind a router.

I'm behind a router -- I need the "!" when I use dhcp and I need to remove it when I use static IP.

Offline

#8 2008-02-28 15:52:02

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

Hi there,

As far as the timezone stuff goes, there is definitely a /usr/share/zoneinfo file and I'd assume you need it to set your timezone--it is not hidden.  Try pacman -S tzdata to see if you already have that package or reinstall it to see if it helps.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#9 2008-02-28 16:08:39

ploub
Member
Registered: 2007-05-16
Posts: 132

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

fwojciec wrote:
ploub wrote:

You will need to remove the ! from !gateway if you are behind a router.

I'm behind a router -- I need the "!" when I use dhcp and I need to remove it when I use static IP.

ok, but I'm using dhcp ... hmm

Offline

#10 2008-02-28 17:37:33

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

Well... I had just typed up a short story for this thread, but my campus just lost power and *poof* it's all gone. So here's the condensed version:

Lo(opback device)
As some have pointed out already, declaring 'lo' is no longer required in /etc/rc.conf.  This is a loopback device and is used for local networking (local as in 'within your machine'); it should not effect your wifi whatsoever.  For the record, it is now handled elsewhere by the Arch initscripts and everything is automatic.

Gateways & ROUTES
If your router is using DHCP to automatically assign an IP to connecting clients (most routers do it this way), then there is no need to use the gateway= or ROUTES settings.  That being said, you don't need to comment out the gateway= assignment.  Simply add a '!' in front of gateway witin the ROUTES array, like so:

ROUTES=(!gateway)

This will tell ROUTES to NOT load the gateway assignment.  So, it could read gateway="Bob's your Uncle" and it won't matter because the whole statement is being ignored anyway.

Now that we've ruled those out....

It sounds to me like this could be one of two things:

A driver/kernel issue with the rt2500 chipset and drivers, or a problem at the router.  Now, since you still cannot connect even when security is entirely disabled at the router, and since you've triple checked the router settings, etc., that would lead me to believe it's a driver issue.  Unforunately, I have no experience with the rt2500 series cards so I can't offer much in the way of advice, but I hope the above information helps give you some insight.  Good luck!

PS: Timezone and Locale have nothing to with the wireless connection, unless you've got some wonky schedule-based access rules custom-configured on your router.  Otherwise, both matters are separate topics and have nothing to do with your networking.

Last edited by thayer (2008-02-28 17:40:04)


thayer williams ~ cinderwick.ca

Offline

#11 2008-02-28 18:10:05

Misbah
Member
Registered: 2008-02-27
Posts: 218

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

deleted

Last edited by Misbah (2012-02-14 05:59:47)

Offline

#12 2008-02-28 19:12:07

Misbah
Member
Registered: 2008-02-27
Posts: 218

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

deleted

Last edited by Misbah (2012-02-14 05:59:56)

Offline

#13 2008-02-28 21:42:25

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

The ip address of my linksys router is 192.168.1.1.  If your gateway is set to 192.168.0.1, you need to change it.  Do a grep in /etc for 192.168.0.1.

Offline

#14 2008-02-28 23:04:06

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

He has dhcp enabled, and gateway= is disabled in the ROUTES array so it doesn't matter what the gateway is set at--it should be dynamically assigned when he attempts to lease an IP.


thayer williams ~ cinderwick.ca

Offline

#15 2008-02-28 23:21:42

Misbah
Member
Registered: 2008-02-27
Posts: 218

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

deleted

Last edited by Misbah (2012-02-14 06:00:06)

Offline

#16 2008-02-29 00:16:24

junglepeanut
Member
From: California
Registered: 2007-01-24
Posts: 145
Website

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

Did you try my suggestion or was it too basic?

Offline

#17 2008-02-29 01:17:31

Misbah
Member
Registered: 2008-02-27
Posts: 218

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

deleted

Last edited by Misbah (2012-02-14 06:00:15)

Offline

#18 2008-02-29 01:29:24

junglepeanut
Member
From: California
Registered: 2007-01-24
Posts: 145
Website

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

I replied to your craigslist post (late last night so I added some stuff here)
http://sacramento.craigslist.org/forums/?forumID=1991

You will have to go down to it. Basically I was asking how you are doing it? i.e. dhcpcd -d wla0
or are you just running
/etc/rc.d/network restart
or
netcfg2 myprofile
etc
I think by knowing that we are getting from a specific method with its errors will help. I recieved time out errors on setup only when using network etc on bootups or /etc/rc.d/network restart where as
dhcpcd always told em the real reason (actually it normally worked pointing out I had errors in my config files.)
Good luck

Last edited by junglepeanut (2008-02-29 01:30:00)

Offline

#19 2008-02-29 01:59:38

Misbah
Member
Registered: 2008-02-27
Posts: 218

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

deleted

Last edited by Misbah (2012-02-14 06:00:30)

Offline

#20 2008-02-29 02:45:24

junglepeanut
Member
From: California
Registered: 2007-01-24
Posts: 145
Website

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

Iso is fine, just wanted to know how new or old you were using.

Offline

#21 2008-02-29 04:02:39

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

on a side note, I use nm-applet and it's proven to be invaluable for wireless setup.  just a suggestion.


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#22 2008-02-29 08:38:44

ploub
Member
Registered: 2007-05-16
Posts: 132

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

@misbah, @thayer: ROUTES=(!gateway) removes the 'SIODCRT' error and FAIL message on boot / shutdown smile

Offline

#23 2008-02-29 18:07:23

Misbah
Member
Registered: 2008-02-27
Posts: 218

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

deleted

Last edited by Misbah (2012-02-14 06:00:48)

Offline

#24 2008-02-29 18:23:26

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

Just for the heck of it why don't you try using a static ip and maybe something like wifi-radar.  When you run that you can see what wireless networks are in the area if your wireless device works and manually connect through the gui.  Just comment out the network daemon in /etc/rc.conf and start up wifi-radar as root.  If you want to use it as a regular user you have to add to your /etc/sudoers file.  I'm assuming here that you have some sort of wm installed.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#25 2008-02-29 19:25:12

Misbah
Member
Registered: 2008-02-27
Posts: 218

Re: Arch network setup problem. SO FRUSTRATING! --- [SOLVED]

deleted

Last edited by Misbah (2012-02-14 06:00:59)

Offline

Board footer

Powered by FluxBB