You are not logged in.

#1 2012-07-28 13:32:50

sweetthdevil
Member
Registered: 2009-10-20
Posts: 432

[resolved]Help to set up manually the network,

Hi all,

I am trying to set up manually the network in order to gain time during the boot.

I have amended the /etc/rc.conf file like that:

 interface=eth0
 address=192.168.1.86
 netmask=255.255.255.0
 gateway=192.168.1.4

but once the network started I have no connection,  I only start daemon network.

I have read the wiki but I must admit it isn't so clear for me anyway,

for information, I have set up a static IP for my computer within the router.

Many thanks for your assistance,

Regards,

Last edited by sweetthdevil (2012-07-30 11:54:51)

Offline

#2 2012-07-28 15:14:11

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [resolved]Help to set up manually the network,

Have a look at the Network Debugging wiki page to get some info on how to effectively troubleshoot this (and which info to provide).

Last edited by Gcool (2012-07-28 15:14:29)


Burninate!

Offline

#3 2012-07-28 15:42:14

sweetthdevil
Member
Registered: 2009-10-20
Posts: 432

Re: [resolved]Help to set up manually the network,

Right,

those ip used are correct, and so is the gateway. I still do not understand why my manual set up doesn't work.

Offline

#4 2012-07-29 01:51:47

F3lix85
Member
From: Washington state
Registered: 2009-09-01
Posts: 9

Re: [resolved]Help to set up manually the network,

What is the output if you run "ip addr"?

What is the output of "ping 192.168.1.4"?

*edit*
You need to run the first one as root in case you didn't know.

also what is the the output of "cat /etc/resolv.conf"
*end_edit*

Last edited by F3lix85 (2012-07-29 01:54:35)

Offline

#5 2012-07-29 09:16:54

sweetthdevil
Member
Registered: 2009-10-20
Posts: 432

Re: [resolved]Help to set up manually the network,

Many thanks for your assistance,

p.s. the gateway ipis correct - I simply didn't write it correctly on the first post

sudo ip addr:

[sweetth@(none) ~]$ sudo ip addr
Password: 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:24:8c:6e:b0:fe brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.86/24 brd 192.168.1.255 scope global eth0
    inet6 fe80::224:8cff:fe6e:b0fe/64 scope link 
       valid_lft forever preferred_lft forever 

Ping ping -c3 192.168.1.254

PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
64 bytes from 192.168.1.254: icmp_req=1 ttl=64 time=3.24 ms
64 bytes from 192.168.1.254: icmp_req=2 ttl=64 time=2.97 ms
64 bytes from 192.168.1.254: icmp_req=3 ttl=64 time=3.36 ms

--- 192.168.1.254 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 2.977/3.197/3.369/0.170 ms

and

# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
domain lan
nameserver 192.168.1.254
# /etc/resolv.conf.tail can replace this line

Many thanks

Offline

#6 2012-07-29 18:07:01

F3lix85
Member
From: Washington state
Registered: 2009-09-01
Posts: 9

Re: [resolved]Help to set up manually the network,

Looks like it is working on the internal network. Next lets try testing access to the internet.

Try pinging google.com and then ping the IP 173.194.33.5 (that is the ip i get when i ping google.com if you are wondering)

Offline

#7 2012-07-30 00:19:53

sweetthdevil
Member
Registered: 2009-10-20
Posts: 432

Re: [resolved]Help to set up manually the network,

This is when I use DHCP to get the connection and not a manual set up.

Offline

#8 2012-07-30 04:32:01

F3lix85
Member
From: Washington state
Registered: 2009-09-01
Posts: 9

Re: [resolved]Help to set up manually the network,

Then for this to do any good you need to run through all the commands and repost the output with the manual network settings.

Offline

#9 2012-07-30 11:54:38

sweetthdevil
Member
Registered: 2009-10-20
Posts: 432

Re: [resolved]Help to set up manually the network,

Right I checked and the file /etc/resolv.conf was missing the servername and the domain so adding those two lines resolve the issue.

Now I just have to find a solution for the slow GDM to find out if the booting time has been improved.

Many thanks for your assistance,

Offline

Board footer

Powered by FluxBB