Sponsored Content
Special Forums IP Networking Unable to connect to internet on slackware 14.1 (hathway connection) Post 302897886 by pinakbheed on Wednesday 16th of April 2014 03:05:42 PM
Old 04-16-2014
But, wouldn't that mean I'll have to keep my desktop on to have internet on Laptop?

I'm posting more details which might help you. Here are some commands which i ran and their results

Code:
bash-4.2# /etc/rc.d/rc.inet1     
Polling for DHCP server on interface eth0:
dhcpcd[1594]: version 6.0.5 starting
dhcpcd[1594]: eth0: soliciting an IPv6 router
dhcpcd[1594]: eth0: soliciting a DHCP lease
dhcpcd[1594]: timed out
dhcpcd[1594]: allowing 8 seconds for IPv4LL timeout
dhcpcd[1594]: eth0: probing for an IPv4LL address
dhcpcd[1594]: eth0: no IPv6 Routers available
dhcpcd[1594]: eth0: using IPv4LL address 169.254.65.79
dhcpcd[1594]: eth0: adding host route to 169.254.65.79 via 127.0.0.1
dhcpcd[1594]: eth0: adding route to 169.254.0.0/16
dhcpcd[1594]: forked to background, child pid 1635


bash-4.2# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 169.254.65.79  netmask 255.255.0.0  broadcast 169.254.255.255
        inet6 fe80::21b:38ff:fe09:7bc8  prefixlen 64  scopeid 0x20<link>
        ether 00:24:1d:f2:23:9e  txqueuelen 1000  (Ethernet)
        RX packets 94  bytes 25512 (24.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 66  bytes 9402 (9.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 216  bytes 15804 (15.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 216  bytes 15804 (15.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


bash-4.2# lspci | grep Ethernet
05:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)


bash-4.2# dmesg | grep -i eth0
[    7.574621] 8139too 0000:05:01.0 eth0: RealTek RTL8139 at 0x00012000, 00:1b:38:09:7b:c8, IRQ 21
[  120.374580] 8139too 0000:05:01.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
[  229.976611] 8139too 0000:05:01.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
[  271.207805] 8139too 0000:05:01.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
[  311.115483] 8139too 0000:05:01.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1

Please note here that I have also tried using network manager (added in slackware 14.1) without success. The commands i ran for networkmanager are:

Code:
ifconfig eht0 down hw ether 00:24:1D:F2:23:9E
ifconfig eht0 up
/etc/rc.d/rc.networkmanager start

Also, I tried using wicd with similar issue. And, I could not find a way to clone MAC on wicd GUI.

What i think is 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), whereas Puppy Linux did.

What do you think?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cannot connect to the Internet

I running HPUX 11.0, Netscape gives me an error "Unable to locate Server" when using a www.something.com address. If I use an IP address I get past the router and onto the Internet. My workstation can get to the Router @ 192.168.0.1 and also it's local APACHE server. I have DHCP enabled... (8 Replies)
Discussion started by: johnalt
8 Replies

2. Slackware

setting up internet on slackware

I tried unsuccessfully to set up the internet on slackware . I ran "netconfig" and follow all the steps like to enter ip address dns server subnet mask and default gateway . I saved the configuration and reboot the computer with no results . When im doing this under my pc works fine but first... (4 Replies)
Discussion started by: exhumation
4 Replies

3. Linux

how to connect internet????

HI, Am using GPRS ( MOB # 3230 ) internet connection in windows Hw to use internet r connect in linux.. ( Red Hat Linux Ver.10 ) Please help me.. Thanks in adv.. (1 Reply)
Discussion started by: bharath raja
1 Replies

4. UNIX for Advanced & Expert Users

Unable to connect to INTERNET using BSNL Broad band connection on Solaris-x86

Hi, Iam using BSNL broad band connection and i have installed two OS Xp & Sun solaris -x86 on my machine.Iam able to use INTERNET on windows Xp but not able to do it on solaris x86. I have tried using DHCP concept as well as sys-unconfig command in solaris but no results. When i use... (5 Replies)
Discussion started by: jayaprakash
5 Replies

5. Solaris

Unable to connect to Internet

Hi friends recently i have installed SXDE 1/08 into my machine,and i installed wifi driver also its working fine,Recently i was unable to connect to Internet,I have not changed any configurations and any installations,thing is that i got my iwk0 interface is UP and IP address also and i can... (6 Replies)
Discussion started by: srinivas2828
6 Replies

6. UNIX for Dummies Questions & Answers

unable to browse internet in linux (railwire dialup connection)

Hi Gurus, Good morning . I have a railwire internet connection(dial up).I am able to access internet in windows xp .but in windows xp every time i restart my pc i have to manually right click the "railwire"icon and then click "connect, after this i am just getting connected to the internet. But... (4 Replies)
Discussion started by: sanjay.login
4 Replies

7. Linux

How to connect to internet

Hi, Can someone guide me regarding how to connect to internet. what are steps? Thanks in advance (2 Replies)
Discussion started by: naren nandale
2 Replies

8. Virtualization and Cloud Computing

unable to connect internet on virtual machine

I have installed Oracle VM virtual box on Windows 7 and using LINUX (backtrack 5) as my virtual OS. The problem is i'm unable to connect to internet from my virtual OS. i'm using USB dongle (mobile broad band) to connect to internet from my host OS windows 7. I tried setting NAT in VM settings... (0 Replies)
Discussion started by: Arun_Linux
0 Replies

9. Red Hat

Unable to connect to internet

Hello, I just installed CentOS 7 (Server with GUI) and guess what I could install Virtual Box Guest additions without installing any extra package/software which is great news ! Now bad news or not so great news. My Host OS is Windows 10, Virtual Box is the virtualization software. CentOS7-1... (0 Replies)
Discussion started by: bluemind2005
0 Replies

10. Linux

Unable to connect guest VM to internet (QEMU via both 'User-mode networking' and 'TUN/TAP')

Hello, I installed FreeBSD 10.3 on AQEMU. I can't connect to internet in none of the modes of "Default, User-Mode Networking" and "TUN/TAP Networking". I am able to ping my host in the TAP networking mode (192.168.1.33 which is my IP addr in guest), but getting 'no route to host' for any... (1 Reply)
Discussion started by: temp-usr
1 Replies
DHCPCD.CONF(5)						      System Manager's Manual						    DHCPCD.CONF(5)

NAME
dhcpcd.conf -- dhcpcd configuration file DESCRIPTION
Although dhcpcd can do everything from the command line, there are cases where it's just easier to do it once in a configuration file. Most of the options found in dhcpcd(8) can be used here. The first word on the line is the option and the rest of the line is the value. Leading and trailing whitespace for the option and value are trimmed. You can escape characters in the value using the character. Blank lines and lines starting with # are ignored. Here's a list of available options: allowinterfaces pattern When discovering interfaces, the interface name must match pattern which is a space or comma separated list of patterns passed to fnmatch(3). If the same interface is matched in denyinterfaces then it is still denied. denyinterfaces pattern When discovering interfaces, the interface name must not match pattern which is a space or comma separated list of patterns passed to fnmatch(3). arping address [address] dhcpcd will arping each address in order before attempting DHCP. If an address is found, we will select the replying hardware address as the profile, otherwise the ip address. Example: interface bge0 arping 192.168.0.1 profile 192.168.0.1 static ip_address=192.168.0.10/24 background Background immediately. This is useful for startup scripts which don't disable link messages for carrier status. blacklist address[/cidr] Ignores all packets from address[/cidr]. whitelist address[/cidr] Only accept packets from address[/cidr]. blacklist is ignored if whitelist is set. broadcast Instructs the DHCP server to broadcast replies back to the client. Normally this is only set for non Ethernet interfaces, such as FireWire and InfiniBand. In most cases, dhcpcd will set this automatically. env value Push value to the environment for use in dhcpcd-run-hooks(8). For example, you can force the hostname hook to always set the host- name with env force_hostname=YES. clientid string Send the clientid. If the string is of the format 01:02:03 then it is encoded as hex. For interfaces whose hardware address is longer than 8 bytes, or if the clientid is an empty string then dhcpcd sends a default clientid of the hardware family and the hard- ware address. duid Generate an RFC 4361. compliant clientid. This requires persistent storage and not all DHCP servers work with it so it's not enabled by default. The duid generated will be held in /etc/dhcpcd.duid and should not be copied to other hosts. fallback profile Fallback to using this profile if DHCP fails. This allows you to configure a static profile instead of using ZeroConf. hostname name Sends hostname to the DHCP server so it can be registered in DNS. If hostname is an empty string then the current system hostname is sent. If hostname is a FQDN (ie, contains a .) then it will be encoded as such. fqdn [none | ptr | both] none disables FQDN encoding, ptr just asks the DHCP server to update the PTR record of the host in DNS whereas both also updates the A record. dhcpcd itself never does any DNS updates. dhcpcd encodes the FQDN hostname as specified in RFC1035. interface interface Subsequent options are only parsed for this interface. ipv6ra_fork By default, when dhcpcd receives an IPv6 RA, dhcpcd will only fork to the background if the RA contains at least one unexpired RDNSS option. Set this option so to make dhcpcd always fork on an RA. leasetime seconds Request a leasetime of seconds. metric metric Metrics are used to prefer an interface over another one, lowest wins. dhcpcd will supply a default metric of 200 + if_nametoindex(3). An extra 100 will be added for wireless interfaces. noarp Don't send any ARP requests. This also disables IPv4LL. nogateway Don't install any default routes. nohook script Don't run this hook script. Matches full name, or prefixed with 2 numbers optionally ending with .sh. So to stop dhcpcd from touching your DNS or MTU settings you would do:- nohook resolv.conf, mtu noipv4ll Don't attempt to obtain an IPv4LL address if we failed to get one via DHCP. See RFC 3927. noipv6rs Disable solicition of IPv6 Router Advertisements. nolink Don't receive link messages about carrier status. You should only set this for buggy interface drivers. option option Requests the option from the server. It can be a variable to be used in dhcpcd-run-hooks(8) or the numerical value. You can specify more options separated by commas, spaces or more option lines. nooption option Remove the option from the DHCP message. This should only be used when a DHCP server sends a non requested option that should not be processed. destination option If dhcpcd.conf detects an address added to a point to point interface (PPP, TUN, etc) then it will set the listed DHCP options to the destination address of the interface. profile name Subsequent options are only parsed for this profile name. quiet Suppress any dhcpcd output to the console, except for errors. reboot seconds Allow reboot seconds before moving to the discover phase if we have an old lease to use. The default is 5 seconds. A setting if 0 seconds causes dhcpcd to skip the reboot phase and go straight into discover. release dhcpcd will release the lease prior to stopping the interface. require option Requires the option to be present in all DHCP messages, otherwise the message is ignored. It can be a variable to be used in dhcpcd-run-hooks(8) or the numerical value. You can specify more options separated by commas, spaces or more require lines. To enforce that dhcpcd only responds to DHCP servers and not BOOTP servers, you can require dhcp_message_type. script script Use script instead of the default /lib/dhcpcd/dhcpcd-run-hooks. ssid ssid Subsequent options are only parsed for this wireless ssid. static value Configures a static value. If you set ip_address then dhcpcd will not attempt to obtain a lease and just use the value for the address with an infinite lease time. Here is an example which configures a static address, routes and dns. interface eth0 static ip_address=192.168.0.10/24 static routers=192.168.0.1 static domain_name_servers=192.168.0.1 Here is an example for PPP which gives the destination a default route. It uses the special destination keyword to insert the desti- nation address into the value. interface ppp0 static ip_address= destination routers timeout seconds The default timeout for waiting for a DHCP response is 30 seconds which may be too long or too short and can be changed here. userclass string Tag the DHCP messages with the userclass. You can specify more than one. vendor code,value Add an encapsulated vendor option. code should be between 1 and 254 inclusive. To add a raw vendor string, omit code but keep the comma. Examples. Set the vendor option 01 with an IP address. vendor 01,192.168.0.2 Set the vendor option 02 with a hex code. vendor 02,01:02:03:04:05 Set the vendor option 03 with an IP address as a string. vendor 03,"192.168.0.2" Set un-encapsulated vendor option to hello world. vendor ,"hello world" vendorclassid string Change the default vendorclassid sent from dhcpcd-version. If not set then none is sent. waitip Wait for an address to be assigned before forking to the background. xidhwaddr Use the last four bytes of the hardware address as the DHCP xid instead of a randomly generated number. SEE ALSO
dhcpcd-run-hooks(8), dhcpcd(8), if_nametoindex(3), fnmatch(3) AUTHORS
Roy Marples <roy@marples.name> BUGS
Please report them to http://roy.marples.name/projects/dhcpcd BSD
March 19, 2012 BSD
All times are GMT -4. The time now is 02:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy