Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-10-2006, 11:52 AM
|
#1
|
LQ Newbie
Registered: May 2006
Posts: 9
Rep:
|
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
|
|
|
06-10-2006, 02:56 PM
|
#2
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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.
|
|
|
06-10-2006, 03:10 PM
|
#3
|
LQ Newbie
Registered: May 2006
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
06-10-2006, 04:12 PM
|
#4
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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.
|
|
|
06-10-2006, 04:58 PM
|
#5
|
LQ Newbie
Registered: May 2006
Posts: 9
Original Poster
Rep:
|
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..
|
|
|
06-10-2006, 06:08 PM
|
#6
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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
|
|
|
06-10-2006, 06:42 PM
|
#7
|
LQ Newbie
Registered: May 2006
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
06-10-2006, 07:05 PM
|
#8
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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
|
|
|
06-10-2006, 07:09 PM
|
#9
|
LQ Newbie
Registered: May 2006
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|