You are not logged in.

#1 2009-10-24 17:58:22

MariusEriksen
Member
Registered: 2009-10-24
Posts: 25

No network connection - Need help getting online

$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 tongue Can u help me?

Offline

#2 2009-10-24 18:21:40

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: No network connection - Need help getting online

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

#3 2009-10-24 18:24:01

K-radical
Member
Registered: 2009-10-05
Posts: 32

Re: No network connection - Need help getting online

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

#4 2009-10-24 18:25:00

MariusEriksen
Member
Registered: 2009-10-24
Posts: 25

Re: No network connection - Need help getting online

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

#5 2009-10-24 18:32:25

K-radical
Member
Registered: 2009-10-05
Posts: 32

Re: No network connection - Need help getting online

MariusEriksen wrote:

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

#6 2009-10-24 18:47:44

MariusEriksen
Member
Registered: 2009-10-24
Posts: 25

Re: No network connection - Need help getting online

$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

#7 2009-10-24 18:55:17

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: No network connection - Need help getting online

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

#8 2009-10-24 18:58:40

K-radical
Member
Registered: 2009-10-05
Posts: 32

Re: No network connection - Need help getting online

MariusEriksen wrote:

$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.

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

#9 2009-10-24 19:00:56

MariusEriksen
Member
Registered: 2009-10-24
Posts: 25

Re: No network connection - Need help getting online

Ok, to enter my router I use 10.0.0.1, is this the IP im looking for?

Offline

#10 2009-10-24 19:02:50

K-radical
Member
Registered: 2009-10-05
Posts: 32

Re: No network connection - Need help getting online

MariusEriksen wrote:

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

#11 2009-10-24 19:03:50

MariusEriksen
Member
Registered: 2009-10-24
Posts: 25

Re: No network connection - Need help getting online

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

#12 2009-10-24 19:04:09

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: No network connection - Need help getting online

MariusEriksen wrote:

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

#13 2009-10-24 19:04:54

K-radical
Member
Registered: 2009-10-05
Posts: 32

Re: No network connection - Need help getting online

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

#14 2009-10-24 19:07:26

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: No network connection - Need help getting online

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? tongue

Offline

#15 2009-10-24 19:10:22

K-radical
Member
Registered: 2009-10-05
Posts: 32

Re: No network connection - Need help getting online

userlander wrote:
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? tongue

lol whatever gets the job done I guess wink

Offline

#16 2009-10-24 19:13:52

MariusEriksen
Member
Registered: 2009-10-24
Posts: 25

Re: No network connection - Need help getting online

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

#17 2009-10-24 19:14:59

K-radical
Member
Registered: 2009-10-05
Posts: 32

Re: No network connection - Need help getting online

lol just to varify, you are plugged into the router yes?

Offline

#18 2009-10-24 19:20:54

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: No network connection - Need help getting online

MariusEriksen wrote:

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.1

and 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

#19 2009-10-24 19:25:55

MariusEriksen
Member
Registered: 2009-10-24
Posts: 25

Re: No network connection - Need help getting online

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

#20 2009-10-24 19:31:20

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: No network connection - Need help getting online

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

#21 2009-10-24 20:47:17

MariusEriksen
Member
Registered: 2009-10-24
Posts: 25

Re: No network connection - Need help getting online

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

#22 2009-10-24 21:26:33

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: No network connection - Need help getting online

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

#23 2009-10-24 21:32:44

MariusEriksen
Member
Registered: 2009-10-24
Posts: 25

Re: No network connection - Need help getting online

pmount -> Command not found. Its formated as FAT, cos I did it on Windowns.. Can that be the problem`?

Offline

#24 2009-10-24 21:35:45

MariusEriksen
Member
Registered: 2009-10-24
Posts: 25

Re: No network connection - Need help getting online

mkdir /mnt/usb
mount /dev/sdb1 /mnt/usb Did the job big_smile

Offline

#25 2009-10-24 21:35:50

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: No network connection - Need help getting online

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 tongue

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

Board footer

Powered by FluxBB