No network after core install

You have a problem with Salix? Post here and we'll do what we can to help.
kuina
Posts: 15
Joined: 24. Dec 2009, 11:38
Location: Japan

Re: No network after core install

Post by kuina »

Really!?

Did you set anything to use network?
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: No network after core install

Post by JRD »

Nothing. I just use wicd.
Image
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: No network after core install

Post 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:
kuina
Posts: 15
Joined: 24. Dec 2009, 11:38
Location: Japan

Re: No network after core install

Post 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!
User avatar
tecwizrd
Posts: 6
Joined: 29. May 2010, 04:18
Location: Huntsville, AL.

Re: No network after core install

Post 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?
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: No network after core install

Post by djemos »

what is the output of the following statements
ifconfig
route -n
ps ax | grep dhclient
ps ax | grep dhcpcd
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: No network after core install

Post 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?
Image
User avatar
tecwizrd
Posts: 6
Joined: 29. May 2010, 04:18
Location: Huntsville, AL.

Re: No network after core install

Post 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.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: No network after core install

Post 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.
Image
User avatar
tecwizrd
Posts: 6
Joined: 29. May 2010, 04:18
Location: Huntsville, AL.

Re: No network after core install

Post 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.
Post Reply