i just use my ethernet cable, my apartment building has ethernet outlets installed. and in windows i use dhcp
OK. get the windows data and we can take a look.
BTW, when you are at it in windows get the values for the gateway and the DNS servers.
this is in swedish sorry:
Fysisk adress . . . . . . . . . . : 00-30-F1-1B-EC
DHCP aktiverat . . . . . . . . . : Ja
Autokonfiguration aktiverat . . . : Ja
IP-adress . . . . . . . . . . . . : 18.104.22.168
Nätmask . . . . . . . . . . . . . : 255.255.255.0
Standard-gateway . . . . . . . . : 22.214.171.124
DHCP-server . . . . . . . . . . . : 126.96.36.199
DNS-servrar . . . . . . . . . . . : 188.8.131.52
OK. Now we can play a bit.
Edit your /etc/rc.conf like this:
eth0="eth0 184.108.40.206 netmask 255.255.255.0 broadcast 220.127.116.11"
# 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 18.104.22.168"
ROUTES=(gateway) <-- notice I removed the ! mark in"!gateway"
Then edit /etc/resolv.conf and enter:
Then restart the network (or the pc whatever you like) and try to connect.
thanks i'll try this!
almost worked, tried to ping gnu.org and it waited a while isntead of giving me no hostname but then it failed, i ran route and got this:
What's the output of ifconfig?
looked good, my ip showed and everything
See if you can ping 22.214.171.124. Thats the actual ip of gnu.org. If you can ping that, then you have a DNS isse.
In my 10th year of Arch
murffatksig just said it.
I'm also a bit suspicios of the broadcast address (broadcast 126.96.36.199) since I guessed it. A logical guess but ... a guess at the very end.
If you can confirm in your windows machine that that is in fact the address it would be good.
You might even try removing the broadcast address altogether.
eth0="eth0 188.8.131.52 netmask 255.255.255.0"
In my 10th year of Arch
tried to ping the ip:
ping 184.108.40.206 56(84) bytes of data Destiantion host unreacheable
here is also ifconfig:
eth0 Link encap:Ethernet HWaddr 00:30:F1:1B:EC:C5
inet addr:220.127.116.11 Bcast:18.104.22.168 Mask:255.255.255.0
inet6 addr: fe80::230:f1ff:fe1b:ecc5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0x5000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2128 (2.0 Kb) TX bytes:2128 (2.0 Kb)
try to ping yorself just to be sure now : ping 22.214.171.124
I'm not sure it is such a good idea to remove the broadcast address, as networks use it to send information.
i tried to ping my self and it worked
OK. Can you verify that broadcast address in windows?
Address: 126.96.36.199 01010001.11101100.10011111 .10101010
Netmask: 255.255.255.0 = 24 11111111.11111111.11111111 .00000000
Wildcard: 0.0.0.255 00000000.00000000.00000000 .11111111
Network: 188.8.131.52/24 01010001.11101100.10011111 .00000000 (Class A)
Broadcast: 184.108.40.206 01010001.11101100.10011111 .11111111
HostMin: 220.127.116.11 01010001.11101100.10011111 .00000001
HostMax: 18.104.22.168 01010001.11101100.10011111 .11111110
OK then. I guessed correctly. 8)
So, you have everything correct but we are not connecting ... now things get a bit more difficult.
Some ISPs require that you use a specific name, assigned by them to connect to their network.
Check your windows machine see it it is assigned a name by the ISP
when you connect, and if it does, then use it in your arch system.
ok i think i got a name now, where do i write it to?
In the HOSTNAME= in your /etc/rc.conf
I hope that will make it go.
maybe it's something wrong with the dhcpcd settings? or maybe i can download and compile a program that tries to configure my stuff automaticly just like the tool that exists in slackware linux
Add if your machine is a DHCP client.
Add if you use ISDN for dialup.
Add if you use an analog modem for dialup.
Add if you use DSL for pseudo-dialup.
maybe i need to install these packages?
Well ... you are currently not using DHCP, you have a static IP. That's the configuration we set for your machine.
Can you ping this IP? 22.214.171.124 or any of these : 126.96.36.199, 188.8.131.52 ?