You are not logged in.

#1 2007-01-03 15:48:06

dids22
Member
Registered: 2007-01-02
Posts: 251

how configure the internet?

hi,
i just finished install arch (i dont install xorg yet)

i have cables - mpls connection (it's like router, just need configure dhcp on the network card)
i have two network cards, they are automatic install, right?(they both on board)

can i see details on my network cards?(remember, i dont install xorg yet)

how i configure the network card ?

thnks

Offline

#2 2007-01-03 15:54:55

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Offline

#3 2007-01-03 19:04:46

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: how configure the internet?

idiot question: how u get this page
http://wiki.archlinux.org/index.php/Network

from the main page
http://wiki.archlinux.org/index.php/Main_Page

???

Offline

#4 2007-01-03 19:07:55

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: how configure the internet?

There is a search box on the left - I just typed in "configure network"

Offline

#5 2007-01-03 19:37:28

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: how configure the internet?

so that what i do
i Edit /etc/rc.conf like this:

lo="lo 127.0.0.1"
  eth0="dhcp"
  INTERFACES=(lo eth0)
  ROUTES=(!gateway)

and that it
but it's dont work

i write that code

/etc/rc.d/network restart 

and i got "failed" on "start network"

what did i do wrong?

Offline

#6 2007-01-03 19:41:22

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: how configure the internet?

I'm not sure, I don't know all the details of "MPLS".  Let's try and do this manually, so we get better output.  Can you run the following (as root):

ifconfig eth0 up
dhcpcd eth0

Then also post the output of "lsmod" and "ifconfig eth0" so I can take a look at it?

Offline

#7 2007-01-03 20:05:02

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: how configure the internet?

dont know how but now it's work
however, i update the package by

pacman -Syu

the prob' is that the download speed was very low(somthing 2-3 kb)

it's normal?

and u can give me some commandes of networking like how i check my ip (
(for exm')

ty

Offline

#8 2007-01-03 20:08:41

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: how configure the internet?

There's a lot of networking commands.  In order to get your ip, you can use

$ ifconfig eth0

eth0      Link encap:Ethernet  HWaddr 00:08:02:BC:92:E0
          inet addr:10.0.0.6  Bcast:10.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::208:2ff:febc:92e0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:21056495 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9689856 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2523879005 (2406.9 Mb)  TX bytes:1408373723 (1343.1 Mb)

As for your download speed, it is most likely due to the distance between you and the mirror you are using.  Where are you located at, geographically?  To make it easier, I can find a close mirror for you to use.

Offline

#9 2007-01-03 20:14:48

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: how configure the internet?

Israel

Offline

#10 2007-01-03 20:34:29

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: how configure the internet?

You're probably going to want to use the mirror in Greece.  What you want to do is go into /etc/pacman.d/ and open up each file.  At the very top, above the ftp.archlinux.org url, you want to add:

Server = ftp://ftp.ntua.gr/pub/linux/archlinux/@REPO@/os/i686

BUT, make sure you replace "@REPO@" with the actual name of the repo (it will be the name of the file).  So, for /etc/pacman.d/current add in

Server = ftp://ftp.ntua.gr/pub/linux/archlinux/current/os/i686

There is also a romanian mirror which is close to you:

Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/@REPO@/os/i686

Offline

#11 2007-01-03 20:58:10

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: how configure the internet?

there are more mirors?
because what u gave me are are like the first, very slow.
the prob' is not the distance
see this mirror
http://ftp.duth.gr/pub/ubuntu-releases/ … p-i386.iso
it's also from GREECE, and i get my max' speed

Offline

#12 2007-01-03 23:08:12

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: how configure the internet?

well dont know how, but the internet not working again

i tried what you said:
ifconfig eth0 up
dhcpcd eth0

but its still not working

and one more question what is l0?and why i need to put thier that ip:127.0.0.1??

Offline

#13 2007-01-04 15:51:44

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: how configure the internet?

someone?

Offline

#14 2007-01-04 15:57:26

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: how configure the internet?

lo = loopback interface

If your network isn't working anymore, it's better to restart it using the "/etc/rc.d/network restart" command instead of those two commands phrakture gave you. "/etc/rc.d/network" is a script that will launch those commands aswell, after it does some checks and such.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#15 2007-01-04 16:12:58

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: how configure the internet?

Well, this sounds like another issue.

You're using a normal ethernet connection and/or cable modem.

I guess you know some sites in israel or some mirrors from which you can download fast usually? as the ubuntu mirror you gave us?

Okay, well, let's try the following:
Go to your command line and type:

wget http://ftp.duth.gr/pub/ubuntu-releases/edgy/ubuntu-6.10-desktop-i386.iso

wget is the standard download program for console used. If this still is slow, we've rather a problem with the card and/or configuration than with the mirror.

Otherwhise, in those files (/etc/pacman.d/current, /etc/pacman.d/extra) are various mirrors you can try. Most of those should work, just play around.

What i also would like to know, type as root:

ifconfig eth0

Please edit out your IP-Address if you have a direct internet connection, there is no need to publish it. I am rather interested in rx/tx and drop rates of packages.

Somehow, i'm also interested in the network card you are using (chipset). Maybe there are known problems with the card you have. You can find out which cards you have plugged with the command (as root)

lspci

Kind regards
// STi


Ability is nothing without opportunity.

Offline

#16 2007-01-04 18:07:55

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: how configure the internet?

there is somthing strange here:

u remmber  i have 2 onboard network card, yeah?
all this time it was connected with eth0 and therefore i edit /etc/rc.conf like this:

lo="lo 127.0.0.1"
  eth0="dhcp"
  INTERFACES=(lo eth0)
  ROUTES=(!gateway)

so, i reloded arch, and yeah, the internt work, but after some rebooted it's  screwed again.

the thing that i did is  edit this file(/etc/rc.conf) again for this

lo="lo 127.0.0.1"
  eth1="dhcp"
  INTERFACES=(lo eth1)
  ROUTES=(!gateway)

and it's work!!!!!!!!!
(i dont move the cable to the other network card)

maybe can u explain me how is it work?
sometimes the network card(thate connected to the modem) is eth0
and sometimes is eth1?

---------------------------------------------------
about
wget http://ftp.duth.gr/pub/ubuntu-releases/ … p-i386.iso

i got almost  max speed

and about
lspci

the output is too long, so i cant see details on  my nic

---------------------------------------------------------

and i reloaded arch again and the internet dot work again
so i edit the file from this

lo="lo 127.0.0.1"
  eth1="dhcp"
  INTERFACES=(lo eth1)
  ROUTES=(!gateway)

for

lo="lo 127.0.0.1"
  eth0="dhcp"
  INTERFACES=(lo eth0)
  ROUTES=(!gateway)

and its work
its loolk like the network cards get every time different name

Offline

Board footer

Powered by FluxBB