SlackwareThis 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.
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.
Location: Peoples Socialist Republic of Kalifornia
Distribution: Ubuntu and Slackware
Posts: 3
Rep:
Slackware networking and printing issuse
Hi all, first post, so be gentle if I'm asking the wrong question in the wrong place.
I am somewhat "semi-n00b" with Linux; I know my way around the command prompt, and have build my own Ubuntu LAMP server for fun. These issues have me stumped though.
Here is the situation:
- Existing Slackware server (12.something I think), it looks like KDE might have been installed, but if it was, it's not coming up.
- Network connectivity to the local subnet only, no joy pinging google via DNS name or IP.
- I cannot nuke/pave, there are expensive custom applications that cannot be re installed due to licensing issues.
- CUPS might solve mt issues, but with no GUI to manage it from, I'm still stuck
- IPTABLES is installed, but I disabled the start-up. This used to be a DMZ/Web/File/Etc.. server, now it just hosts a single app inside an existing firewall.
- The previous tech was a die-hard tinker. If it could be changed, he did it. With no documentation. Over the course of several years. Unfortunately for all involved, he recently passed away, making asking questions rather difficult.
The desired end-state is this:
- Remote management via SSH
- Local printing to a USB Dot-Matrix printer
- Solid backups
Thanks in advance! I know there are many things I need to add, I'm just not sure what they are. So fire away with your questions and I'll do my best to answer.
Have you tried invoking X from the command line with the command startx? That is the default Slackware way of starting X.
You could also post the output of ifconfig -a, making sure to enclose in in "code" tags, which become available when you click "Go Advanced" down there at the bottom of the Quick Reply window, and telling us more about your network connection the to internet. The "code" tags make the pasted content much easier to read.
If you have network connectivity but no internet, it could either be a firewall or a gateway problem.
What is the output of the following:
Code:
ifconfig
route
ip -4 route show
iptables -L
cat /etc/resolv.conf
and, if you have IPv6, the equivalents for that protocol:
ip -6 route show
ip6tables -L
Then we can see if the machine doesn't know where the gateway is, or perhaps the gateway is blocking it.
Re printing, setting up CUPS is pretty straightforward on a local network. What's the issue with it?
Destination Gateway Genmask Flags Metric Ref Use Ifa
64.183.70.209 * 255.255.255.255 UH 0 0 0 eth0
64.183.70.208 * 255.255.255.248 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo
ip -4 route show
Code:
64.183.70.209 dev eth0 scope link
64.183.70.208/29 dev eth0 proto kernel scope link src 64.183.70.210
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.50
127.0.0.0/8 dev lo scope link
fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0
fe80::/64 dev eth1 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0
ff00::/8 dev eth0 metric 256 mtu 1500 advmss 1440 hoplimit 0
ff00::/8 dev eth1 metric 256 mtu 1500 advmss 1440 hoplimit 0
The gateway configuration doesn't look right to me. In my system, it's 192.168.1.1 rather than 192.168.1.0.
Code:
$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.1
auto eth0
#
Location: Peoples Socialist Republic of Kalifornia
Distribution: Ubuntu and Slackware
Posts: 3
Original Poster
Rep:
Well, with your help I was able to figure out a couple issues.
Frankbell: the gateway was correct, I have it coded in the /etc/rc.d/rc.inet1 file. The routing table below just lists the network 192.168.1.x as 192.168.1.0. Good eye though, because that's what got me thinking about routing.
The problem with access to any (other than local) networks was that the old routing table was still being loaded - I commented all that out and added a new default route to the Gateway at 192.168.1.1 and bam, online!
Of course, Murphy showed up and the client's DSL router started taking a poop a few minutes later. Seriously, maybe 10 minutes after I get all this figured out and online, his router starts going down. I can ping it for a few seconds, then it goes down. Just up and down, not a solid "broken". He has called the ISP and they are sending out a tech today. Until then, I can't work on the printer. Grrrrr.
Side though: I don't think I could have caused the network issue with a new default route. I've never run into that in my experience or training (I'm a CCNA, among other things). Hmmm. Food for thought at least.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.