You are not logged in.
Pages: 1
Hello everyone!
I'm sure a lot will tell me to search in google, but I've done that for hours
I'm new to Archlinux so this is making me a little lost. I upgraded the system with the "# pacman -Syu" command and everything seems to work just fine. But after the reboot the network doesn't work anymore. I reinstaled the system and repeated that about 3 or 4 times, to make sure that was the problem.
Ok, so after doing that and rebooting, the laptop connect to the wireless normally, but I don't get any ping from anything. Nor google.com neither other machines from the network. I know I need to paste you some outputs like iwconfig and so, but like I said, I don't have any network at all so it would be hard to time typing all that stuff in another computer. But if you really need that outputs to help me, just tell me and I'll do that.
I appreciate any help
thank you in advance
Last edited by sollidsnake (2012-01-30 10:52:22)
Non serviam
Offline
You can use a pendrive to copy configs and command outputs to the other computer.
Offline
I got a pendrive and I copied the outputs
I set up the wireless network with the following commands
sudo ip link set wlan0 up
sudo iwconfig wlan0 essid "dlinkhome" key "mykey"
sudo dhcpcd wlan0
It connects, but if I ping anything, it doesn't show me the "host unreachable" - it don't show any output at all.
$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 metric 1
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 metric 1
ether 94:39:e5:ee:bc:7d txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
$ iwconfig
wlan0 IEEE 802.11bgn ESSID:"dlinkhome"
Mode:Managed Access Point: Not-Associated Tx-Power=16 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
$ iwlist scan wlan0
wlan0 Scan completed :
Cell 01 - Address: 00:26:5A:65:77:04
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=57/70 Signal level=-53 dBm
Encryption key:on
ESSID:"dlinkhome"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000420323240
Extra: Last beacon: 786ms ago
IE: Unknown: 0009646C696E6B686F6D65
IE: Unknown: 010882848B961224486C
IE: Unknown: 030106
IE: Unknown: 2A0100
IE: Unknown: 32040C183060
IE: Unknown: 2D1AEE1117FF000000010000000000000000000000000C0000000000
IE: Unknown: 3D1606070400000000000000000000000000000000000000
IE: Unknown: 3E0100
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
IE: Unknown: 7F0101
IE: Unknown: DD07000C4307000000
IE: Unknown: DD1E00904C33EE1117FF000000010000000000000000000000000C0000000000
IE: Unknown: DD1A00904C3406070400000000000000000000000000000000000000
$ cat /etc/rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# Note: Using "localtime" is discouraged, using "" makes hwclock fall back
# to the value in /var/lib/hwclock/adjfile
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# Note: if unset, the value in /etc/localtime is used unchanged
# 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_US.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="UTC"
TIMEZONE="America/Sao_Paulo"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
# Replace every !module by an entry as on the following line in a file in
# /etc/modprobe.d:
# blacklist module
# See "man modprobe.conf" for details.
#
MODULES=()
# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30
# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"
# Scan for BTRFS volumes at startup
USEBTRFS="no"
# 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 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
# - interface: name of device (required)
# - address: IP address (leave blank for DHCP)
# - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
# - broadcast: broadcast address (ignored for DHCP) (optional)
# - gateway: default route (ignored for DHCP)
#
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# broadcast=192.168.0.255
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=
interface=
address=
netmask=
broadcast=
gateway=
# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"
# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as 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 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
#
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
#
DAEMONS=(hwclock syslog-ng network netfs crond rfkill)
Is that info enough to diagnose?
Non serviam
Offline
You should be using initscripts 2012.01.3-1 and your rc.conf should look a bit different ;P Have you merged your pacnew files?
I don't know a thing about wireless, so I can't help much here.
Offline
It connects
Clearly not, as ifconfig shows that wlan0 doesn't have an ip. Which wireless card do you have (post the output of lspci -nn)?
PS. I can't believe how many people still use WEP. Do you guys realize it can be cracked in under a minute?
Last edited by Gusar (2012-01-30 15:31:18)
Offline
PS. I can't believe how many people still use WEP. Do you guys realize it can be cracked in under a minute?
The warning is in the wiki: https://wiki.archlinux.org/index.php/Wireless
try connecting with no encryption, to check everything works. Then try using encryption, either WEP (simpler to configure -- but crackable in a matter of seconds, so it is hardly more secure than an unencrypted connection), WPA, or WPA2.
so <shrugs>
Want to make it more stand out?
Offline
I removed the wep security and now it connected with no problems.
sollidsnake wrote:It connects
Clearly not, as ifconfig shows that wlan0 doesn't have an ip. Which wireless card do you have (post the output of lspci -nn)?
PS. I can't believe how many people still use WEP. Do you guys realize it can be cracked in under a minute?
Even so, ifconfig has the same output as before. I find strange that it only stops working after the upgrade.
Anyway here is my lcpci -nn
http://paste.pocoo.org/show/543117/
I still use wep because I live in a very small city, I'd be very very surprise if anyone knows what wep is around here. When I stop working, I'll try configure wpa security and see if it works. Then I'll post the results here. For now, thank you for the help.
Non serviam
Offline
You should be using initscripts 2012.01.3-1 and your rc.conf should look a bit different ;P Have you merged your pacnew files?
I don't know a thing about wireless, so I can't help much here.
Nop, I haven't merged [yet]. Like I said, I reinstalled Arch about 4 times and I won't be worrying about any other stuff in my system until I have the network working.
Non serviam
Offline
Anyway here is my lcpci -nn
http://paste.pocoo.org/show/543117/
Ah, ath9k card. You're probably hitting this: https://bbs.archlinux.org/viewtopic.php?id=134580
Offline
Pages: 1