Page 2 of 3

Re: No network after core install

Posted: 12. May 2010, 05:07
by kuina
Really!?

Did you set anything to use network?

Re: No network after core install

Posted: 12. May 2010, 07:57
by JRD
Nothing. I just use wicd.

Re: No network after core install

Posted: 12. May 2010, 14:44
by Sybelius
Hi :)

Do this (Terminal / root):
1- pppoe-setup
(suggested DNS: 8.8.8.8 + 8.8.4.4)
2- ifconfig eth0 up
3- ifconfig eth0 192.168.1.3
4- pppoe-start

Cheers ! :mrgreen:

Re: No network after core install

Posted: 20. May 2010, 00:39
by kuina
Although it wasn't perfect solution, I haven't have to think of this probrem.
I installed Xorg, Wicd and any other with Salix live.

Configurating Slapt-get's directory of chache and packagelog, I was able to set up local system from live session.

In particular

Code: Select all

ln -sf /mnt/sda1/var/log/packages /mnt/sda1/var/removed_packages /var/log/
nano /etc/slapt-get/slapt-getrc (change '/var/slapt-get' to /mnt/sda1/var/slapt-get')
slapt-get -d --reinstall -i [package]
Thank you for kindness of everyone!

Re: No network after core install

Posted: 29. May 2010, 05:37
by tecwizrd
I just finished an install of SalixOS 13.2. I usually install a minimal install of Slackware and go from there. Salix saves me some time and effort.

Anyway, under Salix I have no wired network connection. I can configure and activate the nic correctly, ping the local IP (i.e 192.168.1.100) and localhost (127.0.0.1). I have a link light. The motherboard says the cable is good. Yet, I can't get to any external IP. This card and cable work under Ubuntu 9.10 and 10.04. I am in fact posting this from a livecd of 10.04 on the same machine, just after an install of SalixOS.

lspci -k from Ubuntu
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
Kernel driver in use: r8169
Kernel modules: r8169

lspci -k from Salix
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
Kernel driver in use: r8169
Kernel modules: r8169

The module is loaded on both. Any ideas?

Re: No network after core install

Posted: 29. May 2010, 06:27
by djemos
what is the output of the following statements
ifconfig
route -n
ps ax | grep dhclient
ps ax | grep dhcpcd

Re: No network after core install

Posted: 29. May 2010, 07:50
by Shador
Try this one:

Code: Select all

ifconfig eth0 <your ip> netmask 255.255.255.0
route add default gw <your router's ip>
If necessary also replace eth0 and the netmask by another value, though usually they should be fine for small networks.
If DNS resolution doesn't work then, you might have to add such a line to /etc/resolv.conf:

Code: Select all

nameserver <some nameserver>
Usually you can use your router as namerserver.

If manually setting up your network like this works, we can try to investigate further to find out why it isn't working.
Could you also tell us which tool(s) you used to setup your network in your previous efforts?

Re: No network after core install

Posted: 29. May 2010, 13:29
by tecwizrd
This is how I set the network parameters under Slackware.

"ifconfig eth0 10.23.47.100 netmask 255.255.255.0"
"route add default gw 10.23.45.150"
"echo nameserver 192.168.1.1 > /etc/resolve.conf"

I did run netconfig to set the network, just to see if the above configuration was a little off or something but still get the same response. All seems to be working well locally but can't ping the router. Also I can not get to the machine from the laptop on the same network. Keep in mind that with the same configuration under Ubuntu I don't seem to have any problems.

I wonder if this is some kind of hardware issue.

Re: No network after core install

Posted: 29. May 2010, 14:07
by Shador
tecwizrd wrote:"route add default gw 10.23.45.150"
"echo nameserver 192.168.1.1 > /etc/resolve.conf"
Are you sure those two lines are right? Why a namerserver from a completely different subnet, i.e. 192.168.x.x.
Did you try pinging by name or ip?
If you have dhcp can you try dhcpcd eth0.

Re: No network after core install

Posted: 30. May 2010, 15:00
by tecwizrd
OK. I don't have a dhcp server running on this network.

I have a laptop running ubuntu 9.10 that is connected to an access point across the road. I then use NAT with IPtables to allow the laptop to act as a router.

The Wifi card in the laptop is my public facing interface, I use eth0 from the laptop for my internal interface. The 10 address is my internal IP for eth0 in this machine and the laptop eth0. The 192 address is the address of the wifi card in the laptop and the access point.

Dns is done by the access point across the road. I don't think its a dns problem because I can't ping with IP.

Until Salix this has worked. From Salix I can't ping the eth0 on the laptop. From the laptop I can't ping eth0 on this machine. Like I stated earlier I am posting from the machine I installed Salix on, using an Ubuntu 10.04 LiveCD. Clearly the nic card and configuration works.

I wonder what is different in Salix that is not present in Slackware. I have had this work under Slackware.