You are not logged in.
$ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:D3:AF:FC:D0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Rx packets:0 errors:0 dropped:0 overruns:0 frame:0
TX -----"---- "---"---- ---"--- ---"--- carrier:0
Collisions:0 txqueuelen: 1000
RX bytes: 0 TX bytes: 0
Interrupt:22 Base Adress: 0xc00
---"--- Meaning its the same value as over.
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric;1
RX/TX/collision/ txqueuelen IS THE SAME AS OBOVE
/etc/hosts Looked fine to me. Right hostname, and I also got a ip: 127.0.0.1
Also looked over my rc.conf (/etc/rc.conf) and looked trough the network section. This is my output:
HOSTNAME="arch"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
Realy need my connection up and running, cos I got no spare computer at home to do the googling with. And I guessing Im going to live there the next monts Can u help me?
Offline
What is your computer connected to? A router? Or directly to the internet? You need to make sure your gateway IP is correct, and that if it's a router you have it set as a dhcp server to give you an IP.
Offline
Try commenting out the eth0="dhcp" and gateway+"defualt gw 192.168.0.1" lines and from the terminal doing a 'sudo dhcpcd eth0'
Offline
It's connected to a router.. Earlier I'v used Ubuntu, and got no problems with connecting, so its DHCP. Anything i missed out on`?
Also tried to add DNS, is this the right way?
/etc/resolv.conf
nameserver 195.159.0.100
Last edited by MariusEriksen (2009-10-24 18:45:26)
Offline
It's connected to a router.. Earlier I'v used Ubuntu, and got no problems with connecting, so its DHCP. Anything i missed out on`?
That's not necessarily the case. Ubuntu is a 'do everything for you' kinda distro. So it's likley that lots of things that worked in Ubuntu won't work in Arch without a little poking. what do you get when you run 'sudo dhcpcd eth0'?
Offline
$dhcpcd eth0
dhcpcd: sending commands to master dhcpcd process
Still not getting any connection tho..
Could this be a problem with my router?
And.. Should a activate those lines again? (in rc.conf)
When I ping my router (the same adress I use to enter its config with) I get: Network is unreachable
It's a DNS server btw.
Last edited by MariusEriksen (2009-10-24 18:53:39)
Offline
your network is unreachable because you don't have an IP. ;-)
You also have to run dhcpcd as root.
You could assign an IP manually (as root), and then ping your router to make sure it's the right IP:
# ifconfig eth0 192.168.0.9
# ping -c 3 192.168.0.1
If that doesn't ping, the router is probably set to a different address. Again, you need to find that address, fix your rc.conf, and *then* run dhcpcd (or the arch script - that's what it's there for, after all):
# /etc/rc.d/network restart
Last edited by userlander (2009-10-24 19:01:30)
Offline
$dhcpcd eth0
dhcpcd: sending commands to master dhcpcd processStill not getting any connection tho..
Could this be a problem with my router?
And.. Should a activate those lines again? (in rc.conf)When I ping my router (the same adress I use to enter its config with) I get: Network is unreachable
It's a DNS server btw.
Well of course you won't be able to ping the router without being assigned an IP address on the subnet.
What type of router are you using. Are you sure it is 192.168.0.1 and not 1.1
Yes you should reactivate those two lines but make sure you have the right IP of the router assigned to your gateway.
How are you online right now?
Offline
Ok, to enter my router I use 10.0.0.1, is this the IP im looking for?
Offline
Ok, to enter my router I use 10.0.0.1, is this the IP im looking for?
If that's your routers IP address. Unless you set it that way though I doubt it is. If you are online right now are you using linux or windows?
Offline
Im online at the sa router, using wireless connection with a windows vista.
Im using a 'Inteno Broadband Tech' with the model name 'x5668B'
Offline
Ok, to enter my router I use 10.0.0.1, is this the IP im looking for?
sounds like it. put that as your gateway (and uncomment eth0="dhcp" too), and then run the network script (as root):
# /etc/rc.d/network restart
Offline
ok from windows vista open up a command prompt and type ipconfig. whatever it says for "default gateway" is your routers IP address. That's the address you want to put in your rc.conf file as your GATEWAY
Offline
ok from windows vista open up a command prompt and type ipconfig. whatever it says for "default gateway" is your routers IP address. That's the address you want to put in your rc.conf file as your GATEWAY
Do they use windows to fix ubuntu configurations, too?
Offline
K-radical wrote:ok from windows vista open up a command prompt and type ipconfig. whatever it says for "default gateway" is your routers IP address. That's the address you want to put in your rc.conf file as your GATEWAY
Do they use windows to fix ubuntu configurations, too?
lol whatever gets the job done I guess
Offline
hehe, ok. Ty alot for fast answears.
Here it is
rc.conf:
eth0="dhcp"
gateway="default gw 10.0.0.1"
resolve.conf:
nameserver 10.0.0.1
and then I did a restarted. Runned dhcpcd again (as root login)
Still wont connect..
Last edited by MariusEriksen (2009-10-24 19:15:48)
Offline
lol just to varify, you are plugged into the router yes?
Offline
hehe, ok. Ty alot for fast answears.
Here it is
rc.conf:
eth0="dhco"
gateway="default gw 10.0.0.1"resolve.conf:
nameserver 10.0.0.1and then I did a restarted. Runned dhcpcd again (as root login)
Still wont connect..
Is that a typo in the post or also in the file? (eth0="dhco" should be eth0="dhcp")
leave /etc/resolv.conf alone - you're just confusing the issue.
You still haven't:
1) verified that 10.0.01 is your router IP
2) set the IP manually and tried to ping the router
3) run /etc/rc.d/network if it is and all other settings are correct
If you're not going to follow instructions there's not much more I can do. There are a lot of "cooks" with their hands in the broth here, I'll bow out since you appear to want to do things randomly. gl.
Offline
hahahahahaa.. Guys, I'm so sorry! Seems like the problem isnt the config at all. Its the fucking tp-cable contact on my laptop! Got to be broken or something.. Checked the router (at a very very very late stage) and the led showing activity didnt blink at all.. Again, I'm truly sorry for this! Tho, you have given me a lesson on network configs now. Ty alot for that. Sooo, I got a wireless card on it to. Hard to set up? I mean, I bearly managaged this, Im a capable of pulling wireless off?
Well, maybe its not broken, but it sure dont work.
Last edited by MariusEriksen (2009-10-24 19:26:41)
Offline
Lol - okay, it happens to everyone at some point.
For wireless, read the wiki. Can't emphasize it strongly enough. If you can't get it going, post your specific problem. gl
Offline
Another one for the cleaver heads out there:
As I found out that I had no chance at getting the wire to work, due to broken contact I'm going to give wless a try.
When I use iwconfig the results are not so satisfying: no wireless extensions
This is my card: 802.11g 2200BG man:8086 dev:4220 mini-PCI IPW2200 ipw2200 . The internet page tells me that my card works well with linux, on ipw2200 drivers. Why the heck aren't arch telling me this? I'v installed all the packaged containing wireless etc on the package installer! Overkill..
What else need to be done to get my wless up? Do I need another kernel or drivers for my ethernet card?
Seems like I need some extra firmwire, aquired with the command #pacman -S ipw2200-fw
How am I supposed to install this without inet connection?
Last edited by MariusEriksen (Today 22:41:59)
Forget the above. Found the driver and copied it to my usb flash drive. THE NEW QUESTION NOW is how i mount it?
dmesg|tail tells me its called sdb, and I assumed it mounted by #mount /dev/sdb
but this doesnt work at all.. any tip?
Last edited by MariusEriksen (2009-10-24 21:17:07)
Offline
pmount /dev/sdb and it will appear as /media/sdb or something.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
pmount -> Command not found. Its formated as FAT, cos I did it on Windowns.. Can that be the problem`?
Offline
mkdir /mnt/usb
mount /dev/sdb1 /mnt/usb Did the job
Offline
You should probably install pmount for the future, but for now run as root mount -t vfat /dev/sdb /mnt and it'll be mounted on /mnt. Use something else if you do not like /mnt or if /mnt is already used by something else.
Edit: 5 seconds too late
Last edited by fsckd (2009-10-24 21:36:41)
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline