LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-10-2006, 11:52 AM   #1
xzibiz
LQ Newbie
 
Registered: May 2006
Posts: 9

Rep: Reputation: 0
network down...


This is an error i get after i rebooted my slack 10.2 server.
IP: 10.0.0.1 is the static ip ofr my eth1 nic, on my LAN side..
i also have an eth0 WAN nic who get ip from my modem/router.
And gw is the hostname of the server.
I cant get online and cant ping other computers on the WAN net, and cant access internett..

What can me wrong??

Code:
dnsmasq: failen to bind listening socket for 10.0.0.1: Addresse already in use
starting appletalk dameons: alakd ndprstrnbp_rgstr: Connection timed out
Can't reister gw:Workstaion@*
nbp_rgstr: Connection timed out
Can't register gw:netatalk@*
papd afdp
 
Old 06-10-2006, 02:56 PM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
You didn't really provide enough information. Who can't access the internet, the server or the computers behind the server? What is the output of 'ifconfig' and 'route -n' on both the server, and a computer using the server gateway? The output you posted, is this for the server? Are you trying to use dnsmasq to lease IP's to computers behind the server? If so, what does your '/etc/dnsmasq.conf' look like? (please remove the comments before posting it)

regards,
...drkstr

Last edited by drkstr; 06-10-2006 at 02:57 PM.
 
Old 06-10-2006, 03:10 PM   #3
xzibiz
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
The server can't access the internett and the computers behind it can't connect.

Code:
ifconfig::
eth0: IP 192.168.6.35  Bcast: 192.168.6.255    by dhcp
eth1: IP 10.0.0.1 Bcast: 10.0.0.255            by static
lo: 127.0.0.0
Code:
route -n
192.168.6.1 default
In the /etc/dnsmasq.conf file, all the lines begins with # so theres nothing running from that file.
And i'm using dhcp to lease ip's to computers behind the server..

Last edited by xzibiz; 06-10-2006 at 03:18 PM.
 
Old 06-10-2006, 04:12 PM   #4
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I was wanting you to copy and paste the full output. For instance, mine looks like this:

Code:
root@srv:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:A0:CC:E3:69:68
          inet addr:192.168.0.4  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15738541 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10356544 errors:2 dropped:0 overruns:1 carrier:2
          collisions:0 txqueuelen:1000
          RX bytes:27791545 (26.5 Mb)  TX bytes:1397113214 (1332.3 Mb)
          Interrupt:11 Base address:0x1000

eth1      Link encap:Ethernet  HWaddr 00:0C:41:EF:B0:07
          inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20753964 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21170435 errors:6 dropped:0 overruns:0 carrier:6
          collisions:0 txqueuelen:1000
          RX bytes:1653361272 (1576.7 Mb)  TX bytes:529614520 (505.0 Mb)
          Interrupt:10 Base address:0x1400
Code:
root@srv:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
Also, it looks like you are trying to load dnsmasq as well. I had assumed you were since you posed a dnsmasq error.

...drkstr

**edit**
also post any relevent senction of your /etc/rc.d/rc.inet1.conf if you used that to configure your NIC. If not, post the commands you used to bring them up manually

Last edited by drkstr; 06-10-2006 at 04:15 PM.
 
Old 06-10-2006, 04:58 PM   #5
xzibiz
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Code:
ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:BF:94:F7:F7
          inet addr:192.168.6.35  Bcast:192.168.6.255  Mask:255.255.255.0
          EtherTalk Phase 2 addr:65280/66
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:930 errors:0 dropped:0 overruns:0 frame:0
          TX packets:193 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:94139 (91.9 Kb)  TX bytes:14067 (13.7 Kb)

eth1      Link encap:Ethernet  HWaddr 00:12:17:53:4D:1F
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          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
          collisions:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          EtherTalk Phase 2 addr:0/0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:100 (100.0 b)  TX bytes:100 (100.0 b)
Code:
route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.6.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.6.1     0.0.0.0         UG    0      0        0 eth0
But i found out why the internett didn't work..
In my iptables script i need to insert my WAN IP, and there was an wrong ip.
But i still get the error about:

Code:
dnsmasq: failed to bind socket for 10.0.0.1: Address already in use
starting appletalk daemons: atalkd nbprgstrnbp_rgstr: Connection timed out
Can't register gw:Workstation@*
nbp_rgstr: Connection timed out
Can't register gw:Workstation@* 02 -0100 on pts/0 from 192.168.6.64 (witch is my xp computer) papdaafpda
And i dont realy know what this error means.. since i dont realy seem to use dnsmasq..
 
Old 06-10-2006, 06:08 PM   #6
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Quote:
And i dont realy know what this error means.. since i dont realy seem to use dnsmasq..
Code:
#chmod -x /etc/rc.d/rc.dnsmasq
If this script is exacutable, it will autmaticly start dnsmasq at boot.

Glad you got it working,
...drkstr
 
Old 06-10-2006, 06:42 PM   #7
xzibiz
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I removed the +x from rc.dnsmasq so it didn't start
now i only get one error thing...::

Code:
starting appletalk daemons: atalkd nbprgstrnbp_rgstr: Connection timed out
Can't register gw:Workstation@*
nbp_rgstr: Connection timed out
Can't register gw:netatalk@*
edit: gw is the host name for the server

Last edited by xzibiz; 06-10-2006 at 06:48 PM.
 
Old 06-10-2006, 07:05 PM   #8
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I am not familiar with the appletalk and netatalk protocols. This is Mac stuff, no? I would recommend checking out your '/etc/rc.d/' directory and remove the 'x' permission for anything you are not using. You can also try
Code:
cat /etc/rc.d/* | grep appletalk
cat /etc/rc.d/* | grep nettalk
to see what comes up.

regards,
...drkstr
 
Old 06-10-2006, 07:09 PM   #9
xzibiz
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Wink

Code:
cat /etc/rc.d/* | grep appletalk
  echo -n 'starting appletalk daemons: '
#/sbin/modprobe appletalk
Code:
cat /etc/rc.d/* | grep netatalk
# Start netatalk. (a file/print server for Macs using Appletalk)
netatalk_start() {
    /usr/bin/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:netatalk
netatalk_stop() {
netatalk_restart() {
  netatalk_stop
  netatalk_start
  netatalk_start
  netatalk_stop
  netatalk_restart
  netatalk_start
# This is needed if you want to run netatalk, a package which allows
is wat came up

I removed the +x from rc.atalk
and rebooted, and everyting works fine
so thanks for helping me

Last edited by xzibiz; 06-10-2006 at 07:13 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora C2 - Wireless network drivers? Broadcom 802.11g Network Adapter FragTek Linux - Wireless Networking 7 01-22-2010 01:10 AM
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 07:48 AM
3c905C network card in docking station. Cannot activate network device eth0. pathelms Linux - Networking 4 04-12-2006 03:55 PM
Xandros mount point for Windows Network & NFS Network jaagut Linux - Distributions 1 09-14-2005 08:21 AM
Network speed problems on 15 user network to broadband wireless router AntWarrior Linux - Wireless Networking 2 12-02-2004 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration