[SOLVED] Why can I not access this forum under Slackware?
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi everybody! I am very new to Slackware and Im trying to get everything working properly. I started a month or so ago, but I ran into a few problems and had to put it on the back burner for a while. Now I'm back and would like to sort everything out, So maybe I will post a few threads in the next few days. I hope somebody will be kind enough to answer them.
The first thing is, why is it I cannot get to this forum while using Slackware? I have a dual boot setup on my laptop and the wireless is working fine with wicd. I can access plenty of other sites, but when I try to come to Linux Questions it will not connect. Connection always times out. I had to reboot into Windows to make this post. It is the only site it has happened with so far. I tried many times on many different days, so I know it is not a coincidence with the site being down or something.
This is Slackware 13.37. Also using whatever Firefox comes with the install, with no updates, because I have not learned how to do that yet. Thank you.
I've never had a problem with LQ, but I've had problems with other sites. The issues that I've had are not the fault of Slackware, but due to IPv6 and how my ISP is doing 6to4 translation.
You may want to run a test on your system through http://test-ipv6.com/, although the test suite doesn't detect all problems.
I solved most (all?) of my problems by decreasing the MTU for my system to 1280 from the default 1500. You can do this by editing the rc.inet1.conf file in /etc/rc.d and adding a like:
for the appropriate configuration, where YYY is the configuration number (probably 0 for a wired connection, maybe something else if you are using wireless). You'll generally want to use the largest MTU value that works reliably.
Another simple, but more severe solution is to blacklist IPv6 altogether in the kernel module configuration. I don't recommend that, but it may be useful for debugging the problem.
...aaaand, try another browser: firefox and I have had a long and rocky relationship. There are invisible firefox urchins who randomly invade and disrupt ff installations, only to just-as-mysteriously vanish, and all is well again...
Thank you for the replies! Also I didn't mean to post and run but my internet was not working today (on the ISP end).
I tried the ipv6 test from Lirey's post, and it says several things related to ipv6 are bad. I wanted to take a screen shot of all the information it gave me, so I finally figured out how to install xfce-screenshooter, but even though it says it installed and it put a shortcut on the application menu, nothing happens when I try to run it. So I have not been able to take a screen shot.
I added the MTU[YYY]=1280 line to the very end of the rc.inet1.conf file, but now I cannot get online at all. It says it cannot obtain an IP address. And my other computer can get a connection now so I know it isn't my ISP again.
I can move on and try to disable ipv6 now as suggested, but first I wanted to check and see if I did this part right. All I did was take the rc.inet1.conf file I had by default, add the line
to the very end, and that's it. Is that right?
added in: I put the rc.inet1.conf file back the way it was and I blacklisted ipv6 with the instructions given by el chapulin. It did not change anything after reboot. I also looked at wicd to try to change the default DNS address but I am not seeing where to put it. In the Global DNS area? Id so, what about the other feilds there that need to be filled in? Sorry, I am learning to program, but networking is definitely not my area.
Last edited by Miranden; 09-11-2012 at 09:58 PM.
Reason: more information
It isn't. Assuming you use the configuration number 4 in your /etc/rc.d/rc.inet1.conf file the valid entry is:
Thanks for that. Unfortunate, it did not work. I still cannot access many sites and everything is very slow. Takes three or four minutes to load a page.
Here is my rc.inet1.conf file now.
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").
# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.
# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.
# Config information for eth0:
# Config information for eth1:
# Config information for eth2:
# Config information for eth3:
# Default gateway IP address:
# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
## Example config information for wlan0. Uncomment the lines you need and fill
## in your data. (You may not need all of these for your wireless network)
#WLAN_IWPRIV="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=edited out"
## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME="wlan0" # Use a different interface name instead of
# the default 'eth4'
#IFNAME="eth0:1" # Set up an IP alias.
#HWADDR="edited out" # Overrule the card's hardware MAC address
#MTU="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#DHCP_TIMEOUT=15 # The default timeout for the DHCP client to
# wait for server resonse is 10 seconds, but
# you might want a shorter or longer wait.
#DHCP_KEEPRESOLV="yes" # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP="yes" # If you don't want ntp.conf overwritten
#DHCP_KEEPGW="yes" # If you don't want the DHCP server to change
# your default gateway
#DHCP_IPADDR="" # Request a specific IP address from the DHCP
#DHCP_DEBUG="yes" # Make dhcpcd show verbose diagnostics
#DHCP_NOIPV4LL="yes" # Do not assign an ipv4ll address when a DHCP
# server is not found (ipv4ll link-local
# adresses in the IP range 169.254.0.0/16 are
# also known as "zeroconf" addresses)
#WLAN_ESSID=DARKSTAR # An example of how you can override _any_
# parameter defined in rc.wireless.conf, by
# prepending 'WLAN_' to the parameter's name.
# Useful with multiple wireless interfaces.
#WLAN_IWPRIV="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=thekey"
# Some drivers require a private ioctl to be
# set through the iwpriv command. If more than
# one is required, you can place them in the
# IWPRIV parameter (separated with the pipe (|)
# character, see the example).
#WLAN_WPA="wpa_supplicant" # Run wpa_supplicant for WPA support
#WLAN_WPADRIVER="ndiswrapper"# Tell wpa_supplicant to specifically use the
# ndiswrapper driver (if you leave this empty
# the 'wext' driver is used by default)
#WLAN_WPAWAIT=30 # In case it takes long for the WPA association
# to finish, you can increase the wait time
# (defaults to 10 seconds)
I put the new line at the bottom. Is it right now? I ask because near the top there is a commented out line that says MTU="", and I wondered if the 1280 should be inside those quotes. I don't know this syntax.
If it is right this way (without quotes) I will install another browser and see. Thank you to everyone who responded.
Thank you. Yes, I was wondering about that. Because I read the Alien wiki article here about setting up the network and at the end it says
If you want to use wicd, you will have to remove any network interface configuration information from /etc/rc.drc.inet1.conf in order to prevent a struggle for power between wicd and Slackware's rc.inet1 script.
Like I said in my first post, I am using wicd. So I did not put any configuration the in rc.inet1.conf. I did see that the array element 4 was not associated with anything. But since people knew I was using wicd and still gave those instructions I thought maybe something else was going on. But, since you told me to configure rc.inet1.conf, I did that and removed wicd and it worked! So thanks!
A couple of things though. First I did not configure wpa_supplicant.conf because I am not sure I need it with my type of access. Also I wanted to get everything working without encryption first. Anyway, the way I access my network is a little strange. I live in a housing community that provides wireless internet through several access points around the neighborhood. They are all unencrypted public access points. Anyone can log on. But when you do log on, you get redirected to a site for the wireless company where you enter your password. It is just like accessing internet at a hospital or a hotel.
For this type of network, do I need to WPA encryption? If so I will do it with the instruction you gave (thanks).
Also I have one more question. Right after I removed wicd, I put the rc.inet1.conf file back to the way it was as default--with everything commented out. Then I rebooted. At that time, I could still access the internet (I guess because of my unsecured network that I described), but I could still not get to this forum or many other sites. However, the internet was really, really fast--ten times faster than it had bee on wicd. In fact, it was even faster than it is now, with the rc.inet.conf file configured the way it is now like this
Do you know why this would be? Why was it so much slower with wicd than with the rc.inet1.conf defaults, and also why is it slower now with these values? Is there anything I can do to speed it up and have everything still work? Thank you again.
Last edited by Miranden; 09-13-2012 at 12:29 PM.
Reason: typo in code
I couldn't reply to your questions from the post #10 because I don't know enough the network protocols and the valid network configuration settings. I always manage to configure the network but that doesn't mean I understand that. Your questions were very detailed and too difficult for me. It seems they were too difficult for the other people too, because nobody answered your questions. If you found some solution of your problems, please share it with us.
Thanks for letting me know. I thought I was just being ignored. Well, I have learned a great deal about WPA encryption and how it works, but all I think is really important to the question I asked earlier is that it encrypts data from the network card to the access point. Therefore, regardless of what happens when I hit the access point and am redirected to a server so that I can be authenticated (by means of the hospital-type password on the unsecured network), I need WPA encryption just as much as anyone else. Up until that point, my network is no different. This is what I believe to be true anyway.
About wicd being slower than rc.inet1.conf, I am not really sure about this. But I think it could possibly also have to do with wpa_supplicant. Wicd invokes wpa_supplicant as part of its operations. If something were going wrong there with the wpa_supplicant configuration, I think it could possibly cause my network to become slower. Of course this is really just a guess. There could be other things wicd does that I don't know about (probable). All I know is that now that I am only using rc.inet1.conf and have not configured wpa_supplicant yet, my network is lightning fast. When I do configure it myself (which I will do before I do any more browsing under Slackware) I might try to configure it wrong a few different ways and see if it slows things down, or just breaks everything completely.