Unable to connect to internet on slackware 14.1 (hathway connection)
Hi,
I have a wired internet connection of hathway provider. I would like to use the connection on my desktop as well as my laptop. My desktop pc has windows 7 and yesterday I installed slackware 14.1 (full installation) on my lenovo 3000 n100 laptop. Previously I had slacko puppy 5.7 installed on my laptop and I was able to use internet on it. Please note that hathway router has saved the MAC address of my desktop. Hence, I had to change the MAC address of laptop (when puppy linux was installed) to match my desktop's MAC address for making the internet connection work. Now I have slackware 14.1 installed and have followed the documentation provided to setup my network, without success. After going through netconfig, I have edited /etc/rc.d/rc.inet1.conf and made the following changes: Code:
# Config information for eth0: After this edit, I ran /etc/rc.d/rc.inet1 eth0_start to make connection. This too seems to succeed. It finds and IPv4 address and the child process goes to background. But when I open firefox and try connecting to www.google.com, it fails. I have also checked ifconfig output to find that eth0 does take the MAC address specified in HWADDR[0]. I have also tried using networkmanager shipped with slackware (from XFCE dekstop) without success. What could be the problem? Thanks in advance |
yes your right. You created an account with that UID of the other computer. And yes they use that and your password when they created an account.
what I did so I do not have this problem is to buy a router and clone my mac from the computer I used to set the account with. then set the router to auto dhcpd turn everything off. Then start your Modem. then start your router then start your computer. Then from there on I could use any computer to log in to my router. Other wise you will have to call them to reset this on there side for the new UID. that is your Mac. if using a router wifi please read how to secure your wifi. if your modem is also a router. Then you you will need to use there manual. If your setup as the modem and the router is one. and the router is online then it should be as simple as auto dhcpcd. If it is like comcast cable. then you need a router. Quote:
and type. ifconfig then look at the devices that are up. when you installed slackware did you choose the network manager or did you just do the auto dhcpd. the set the /etc/rc.d/rc.inte1 to executable. Quote:
|
In puppy linux, I changed the MAC through "ifconfig eth0 down hw ether 00:01:23:45:67:89" and the used the GUI tool to connect.
During installation of slackware, I skipped the network configuration. After installation, I ran netconfig and chose auto dhcpd. I will try making the networkmanager executable and using the GUI. But, wasn't networkmanager added from version 14. How would I connect without using it? Also, I don't want to buy a router. Thanks for the quick reply. |
I have never done that . I will read up on it. but I really think I may be confusing something here. I read up on it here. http://en.wikibooks.org/wiki/Changin..._Address/Linux
thanks PinkBheed I love learning everyday. I see that there is a place in network manager to do this. I would try it as root user see how it goes. |
Please remember you need to use /etc/rc.d/rc.inet1 or /etc/rc.d/rc.networkmanager if you have both enabled this will cause problems.
that is why I posted before. Quote:
|
Yes. maybe that's the reason (inet1 and networkmanager might conflict). I'll try it out. Also, I have been running all the commands under root user only.
thanks again |
I changed the permissions. It still doesn't work.
|
open a terminal and type ifconfig and post it here.
Quote:
But look what slackware does with it, places it as eth1 not sure why but when moving my hard drives to this new mother board i noticed it. I am sure I can take some time a figure it out. but thats a long story. And yes my network-manager I had to reset also. let see your ifconfig. This also happens on a fresh install to. and you can aslo run lspci | grep Ethernet and paste it. Quote:
Quote:
|
when I do a dmesg | grep -i eth0
Quote:
when I do a dmesg | grep -i eth1 after doing a ifconfig eth1 down I get this. then ifconfig eth1 up Quote:
I guess we should send this to the Slackware team and let Pat comment on it. you will note it does not show the device like it was virtual. |
for simplicity I would set the system to use network manager. then in network manager delete all the conections and creat a new one and start from there.
I had to do that when moving my hard drives over. the reason because they had been set to use the other devices I guess. but after doing some fresh installs I notices like above Slackware making it eth1 not eth0. |
Sorry for replying so late. I was too busy with work, I did not find the time to delve deeper into this issue. So, here's the details:
Code:
bash-4.2# /etc/rc.d/rc.inet1 Code:
bash-4.2# ifconfig Code:
bash-4.2# lspci | grep Ethernet Here's my interpretation though: I'm sure that if Hathway had not restricted the connection to one pc (i.e., by storing MAC address and giving connection to that PC only), slackware would connect without any problems. But because I have to change my laptop's MAC address to match my other computer's, maybe slackware isn't reading it correctly (i.e., it's trying to connect by default MAC). Also, I tried using network manager (GUI). The problem is that, it detects the connection as "Auto Ethernet". But, there's no way I can specify the clone MAC address for "Auto Ethernet". When I go to "Configure VPN" there is no option for editing Auto Ethernet. Creating a new connection does not detect the connection at all. I also tried using network manager (through console). After netconfig, I changed the MAC using Code:
ifconfig eth0 down hw ether 00:24:1D:F2:23:9E Code:
/etc/rc.d/rc.networkmanager start What do you think? |
Also, I tried using wicd. I too has the similar problem as network manager. i was able to detect the connection. But when I try connecting it was stuck at "Obtaining IP address". Also, I could not find a way to clone MAC on wicd (except using ifconfig)
|
Ok.. Here's what you need to try:
1) Run netconfig and ensure you have selected Network Manager 2) Restart the computer.. It's just safer this way 3) Without using ifconfig, start an X session with Xfce or Kde and configure your network via a Network manager applet.. It should let you clone the MAC without any problems.. |
that didn't connect either. When I use network manager applet in XFCE, It shows "Auto Ethernet" as available connection. But when I open up "Configure VPN", It says that connection has never been used. Even after I try connecting to it.
|
Don't use Configure VPN.. Rather right click the applet, and use the "Edit connections.." option.. In that window select "Ethernet connection 1" (or whatever is the name) and hit edit.. Enter you MAC in the Cloned MAC input box..
Also, I saw you installed wicd.. The boot-script will go for wicd if found as executable, so make sure "/etc/rc.d/rc.wicd" is not executable... |
All times are GMT -5. The time now is 01:12 PM. |