dhcp server not producing ip address?
So, this is my first linux distro, and im running slackware 14
wireless card: tp-link "tl-wn951n" Having trouble executing #slackpkg update gpg results: PHP Code:
results: PHP Code:
results: PHP Code:
|
There should no problem with your device as it is supported by the ath9k kernel module. You can check that the kernel module is loaded with 'lsmod | grep ath9k'.
Quote:
Try using NetworkManager to configure your wireless access. |
I tried using "network connections" in kde but the only tab i can interact with is vpn, the rest are grayed out.
# lsmod | grep ath9k Quote:
# ifconfig -a Quote:
|
The "network connections" in KDE is not compatible with Slackware.
To use NetworkManager in Slackware you need to have the NetworkManager daemon running. From http://docs.slackware.com/slackware:..._configuration (under the "Graphical Network Configuration Services" heading Quote:
From the mail to root from Patrick Volkerding with the header "Welcome to Linux (Slackware 14.0)!" Quote:
|
After executing
# chmod +x /etc/rc.d/rc.networkmanager I was unsure how to go about installing gnome so i proceeded to reset my network using #netconfig (a)loopback (b)networkmanager and rebooting my system which fixed my issue. result Quote:
Thank you! Now on to slay my GeForce GTX 560 |
while going through the process of
slackpkg update slackpkg install-new slackpkg upgrade-all i have seamed to disable the network manager. after retrying # chmod +x /etc/rc.d/rc.networkmanager and netconfig in possibly every imaginable config i am back where i started. perhaps i did something wrong while running slackpkg update slackpkg install-new slackpkg upgrade-all root@slacker:~# iwconfig lo no wireless extensions. wlan0 IEEE 802.11bgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off eth0 no wireless extensions. root@slacker:~# ifconfig lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 48 bytes 2568 (2.5 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 48 bytes 2568 (2.5 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 root@slacker:~# ifconfig -a eth0: flags=4098<BROADCAST,MULTICAST> mtu 1500 ether 10:bf:48:74:00:84 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 48 base 0xc000 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 48 bytes 2568 (2.5 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 48 bytes 2568 (2.5 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0: flags=4098<BROADCAST,MULTICAST> mtu 1500 ether 90:f6:52:87:09:29 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
Welcome to the perils of running -current :)
I think you have been caught by this. http://www.linuxquestions.org/questi...3/#post4918278 Perhaps you could download the required package on another computer and then install it on to your affected Slackware-current. |
If you are running Slackware 14 that should not have happened.
If on the other hand, you configured slackpkg to use a slackware-current repository, then yes, this is a known issue with slackpkg and the NetworkManager update of last week... See http://www.linuxquestions.org/questi...3/#post4918278 and the posts that follow. I think the best way forward for you is to download the Slackware updates to another computer, copy them to a USB stick or external USB drive, connect that to the Slackware computer, configure slackpkg to look at the USB stick and update the rest of the packages without having to download them from the Internet. Eric |
I got out of this situation by going to terminal and
"dhclient" iwconfig wlan0 essid yourname dhcpcd -d wlan0 then when it connects go ahead an do the upgrades, and it worked! |
root@slacker:~# /etc/rc.d/rc.inet1.conf
root@slacker:~# /etc/rc.d/rc.inet1 eth0_restart root@slacker:~# dhclient root@slacker:~# iwconfig wlan0 essid root root@slacker:~# dhcpck -d wlan0 bash: dhcpck: command not found root@slacker:~# dhcpcd -d wlan0 dhcpcd[3129]: version 5.5.6 starting dhcpcd[3129]: wlan0: using hwaddr 90:f6:52:87:09:29 dhcpcd[3129]: wlan0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT dhcpcd[3129]: wlan0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason NOCARRIER dhcpcd[3129]: wlan0: waiting for carrier dhcpcd[3129]: timed out dhcpcd[3129]: allowing 8 seconds for IPv4LL timeout dhcpcd[3129]: timed out root@slacker:~# /etc/slackpkg/slackpkg.conf bash: /etc/slackpkg/slackpkg.conf: permission denied |
If you want to configure your wireless connection without using NetworkManager, then the process will depend on how your computer connects to your access point.
If you use WPA2 only, then the process is outlined here. http://www.linuxquestions.org/questi...3/#post4918382 If you use WPA then using the technique outlined by zrdc28 should work. Perhaps check the state of your wireless with 'rfkill list'. You may need to unblock with 'rfkill unblock 1' or something similar. The 'sneakernet' option is still the easiest if you have not worked out how to connect without using NetworkManager. |
Having trouble updating via 'sneakernet'
I go to http://packages.slackware.com/ but really don't know where to do from there to even download the packages. root@slacker:~# rfkill list 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no root@slacker:~# /etc/rc.d/rc.networkmanager stop Stopping NetworkManager: stopped root@slacker:~# pkill wpa_supplicant root@slacker:~# rfkill unblock 1 root@slacker:~# wpa_supplicant -B -c/etc/wpa_supplicant.conf -iwlan0 -Dwext root@slacker:~# dhcpcd dhcpcd[3036]: version 5.5.6 starting dhcpcd[3036]: no interfaces have a carrier dhcpcd[3036]: forked to background, child pid 3073 root@slacker:~# sh /etc/rc.d/rc.firewall sh: /etc/rc.d/rc.firewall: No such file or directory root@slacker:~# sh /etc/rc.d/rc.firewall sh: /etc/rc.d/rc.firewall: No such file or directory root@slacker:~# /etc/rc.d/rc.networkmanager start Starting NetworkManager daemon: /usr/sbin/NetworkManager /usr/sbin/NetworkManager: symbol lookup error: /usr/lib64/libnm-util.so.2: undefined symbol: g_type_ensure oot@slacker:~# /etc/rc.d/rc.inet1.cong bash: /etc/rc.d/rc.inet1.cong: No such file or directory root@slacker:~# /etc/rc.d/rc.inet1.conf root@slacker:~# /etc/rc.d/rc.inet1 etho restart root@slacker:~# slackpkg upgrade all You need the GPG key of Slackware Linux Project <security@slackware.com>. To download and install that key, run: # slackpkg update gpg You can disable GPG checking too, but it is not a good idea. To disable GPG, edit slackpkg.conf and change the value of the CHECKGPG variable to off - you can see an example in the original slackpkg.conf.new file distributed with slackpkg. |
Assumimng you are running Slackware64-current as suggested by the PHP code block in post#1, then the package glib2-2.34.3-x86_64-1.txz can be found at http://mirrors.slackware.com/slackwa...slackware64/l/
|
ok, so I gave up on networkmanager and installed wicd and now im about to retry slackpkg update
|
All times are GMT -5. The time now is 12:32 PM. |