You are not logged in.
Hi, all. I'm a new Arch user, coming from the Debian world.
My problem is that I have an ad hoc network with 2 computers. One, with Debian, conects to Internet via cable modem, it is the gateway with the address 192.168.0.1; the other, with Arch, is conected via Wifi to the Debian computer and uses the address 192.168.0.2.
Well, during the installation of Arch I downoaded the basic FTP image and made a bootable USB memory. Everything went pecfectly, I used a simple script I used in Debian for conecting my wireless antena to the ad hoc network and I succesfully completed the installation via FTP.
The problem came when I restarted the computer: when executing the same script I used during the installation process I have no data transmision. Iwconfig says I'm associated with the Debian computer, I have the correct gateway, the correct IP address, everything looks ok, but there's no response to the pings I send from the Arch machine for any URL (google.com) nor any IP address, (OpenDNS' one, 208.67.220.220), there isn't even response from the gateway, 192.168.0.1. Whatever is the target of my pings I always get the same message:
"icmp_seq=1 Destination Host Unreachable
seq=2 Destination Host Unreachable
seq=3 Dest..."
etc, etc.
BTW, the wifi card, in the problematic Arch computer, is an Intel 3945, and Arch's version is 2009.08 completed via ftp, kernel 2.6.32.
I have tried to comment some lines in rc.conf that could be related to network interfaces and gateways: nothing; deleted the "network" daemon from the "DAEMONS" section: nothing (then I put it back); completely restart network daemon, unload and reload iwl3945 module by hand: nothing; deletin the "!" before "gateway": nothing; there's no variation in the behavior, nothing, the same signs: association apparently correct but no reponse to pings from the gateway.
I tried to conect this Arch computer to my cable modem via ethernet cable, but to my surprise there isn't conection through my eth0 interface either. The interface is up and I get IP from my provider but nothing else; like happens with my wifi card, I neither get response to pings.
I think I have restored everything, but here's the Networking section of my actual rc.conf (the rest of the file hasn't been changed since installation except for my language and local configuration)
# 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
#
#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
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)Perhaps I have missed somthing during the installation? I am accustomed to Debian, where you just need to make your basic netword installation, install you card's firmware and the package "wireless_tools" and your are done. Well I have done the same for Arch: basic installation, my card's firmware (iwl3945) and "wireless_tools"; do I need anything else?
I haven't seen Arch installs Iptables by default, perhaps it installs other firewall that can be blocking my conection? I repeat that I haven't installed anything besides the default basic installation, the iwl3945 firmware and the "wireless_tools".
I don't think the problem may be in the script I use to conect, it is only 4 lines of commands put in a script for commodity and saving time, but just in case here it is:
#!/bin/bash
iwconfig wlan0 mode ad-hoc channel 8
ifconfig wlan0 192.168.0.2
iwconfig wlan0 essid "My SSID" key s:My_password tx 4
route add default gw 192.168.0.1Thanks a lot for any help/hint you can give me, and regards.
Last edited by Viriato (2010-03-09 15:44:02)
Offline