Ask Your Question
0

How to configure usb adapter?

asked 2015-08-12 16:23:40 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

I have dual boot fedora 20, windows 7 OS. About a month ago after a lightning I found my internet connection vanished. Expert told me that the adapter is damaged. I bought an usb adapter and configured the connection in windows 7. But I don't know what to do with it in fedora.

[sonu@localhost ~]$ journalctl -u NetworkManager --since -2m
-- Logs begin at Sun 2014-11-23 08:16:02 IST, end at Tue 2015-08-18 12:12:32 IST. --
Aug 18 12:12:20 localhost.localdomain NetworkManager[752]: <info> (enp0s29f1u1): device state change: ip-config -> unmanaged (reason 'removed') [70 10 36]
Aug 18 12:12:20 localhost.localdomain NetworkManager[752]: <info> (enp0s29f1u1): deactivating device (reason 'removed') [36]
Aug 18 12:12:20 localhost.localdomain NetworkManager[752]: <warn> sysctl: failed to open '/proc/sys/net/ipv6/conf/enp0s29f1u1/accept_ra': (2) No such file or directory
Aug 18 12:12:20 localhost.localdomain NetworkManager[752]: <warn> sysctl: failed to open '/proc/sys/net/ipv6/conf/enp0s29f1u1/use_tempaddr': (2) No such file or directory
Aug 18 12:12:20 localhost.localdomain NetworkManager[752]: <info> NetworkManager state is now DISCONNECTED
Aug 18 12:12:30 localhost.localdomain NetworkManager[752]: <info> (enp0s29f1u1): carrier is OFF
Aug 18 12:12:30 localhost.localdomain NetworkManager[752]: <info> (enp0s29f1u1): new Ethernet device (driver: 'dm9601' ifindex: 4)
Aug 18 12:12:30 localhost.localdomain NetworkManager[752]: <info> (enp0s29f1u1): exported as /org/freedesktop/NetworkManager/Devices/3
Aug 18 12:12:30 localhost.localdomain NetworkManager[752]: <info> (enp0s29f1u1): No existing connection detected.
Aug 18 12:12:30 localhost.localdomain NetworkManager[752]: <info> (enp0s29f1u1): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Aug 18 12:12:30 localhost.localdomain NetworkManager[752]: <info> (enp0s29f1u1): bringing up device.
Aug 18 12:12:30 localhost.localdomain NetworkManager[752]: <info> (enp0s29f1u1): link connected
Aug 18 12:12:30 localhost.localdomain NetworkManager[752]: <info> Added default wired connection 'Wired connection 1' for /sys/devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/
Aug 18 12:12:30 localhost.localdomain NetworkManager[752]: <info> (enp0s29f1u1): link disconnected
Aug 18 12:12:31 localhost.localdomain NetworkManager[752]: <info> (enp0s29f1u1): link connected
Aug 18 12:12:32 localhost.localdomain NetworkManager[752]: <info> (enp0s29f1u1): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
Aug 18 12:12:32 localhost.localdomain NetworkManager[752]: <info> Auto-activating connection 'Wired connection 1'.
Aug 18 12:12:32 localhost.localdomain NetworkManager[752]: <info> Activation (enp0s29f1u1) starting connection 'Wired connection 1'
Aug 18 12:12:32 localhost.localdomain NetworkManager[752]: <info> (enp0s29f1u1): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Aug 18 12:12:32 localhost.localdomain NetworkManager[752]: <info> NetworkManager state is now CONNECTING
Aug 18 12:12:32 localhost.localdomain NetworkManager[752]: <info> Activation (enp0s29f1u1) Stage 1 of 5 (Device Prepare) scheduled...
Aug 18 12:12:32 localhost.localdomain NetworkManager[752]: <info> Activation (enp0s29f1u1) Stage 1 of 5 (Device Prepare) started...
Aug 18 12:12:32 localhost.localdomain NetworkManager[752]: <info> Activation (enp0s29f1u1) Stage 2 of 5 (Device Configure) scheduled ...
(more)
edit retag flag offensive close merge delete

Comments

Hi, I don't understand the problem you are having. Could you try plugging the USB ethernet adapter in to the computer, connecting an ethernet cable to it and some network, and describing what happens? If it doesn't work, it would be helpful to have the output of journalctl -u NetworkManager --since -2m and journalctl -k --since -2m right after the attempt (2m means show the messages for the last two minutes, adjust if needed)

randomuser gravatar imagerandomuser ( 2015-08-16 00:58:13 -0500 )edit

hi randomuser, it seems but i cant remember whether i disabled 'Networkmanager' earlier as someone advised me. if this is the case then kindly advice me what to do. whatever it is, im editting the result of ur query.

lutu gravatar imagelutu ( 2015-08-16 14:33:51 -0500 )edit

The NetworkManager log is empty, which suggests you did disable it. Let's see the output of systemctl status NetworkManager network please. I'm editing your question to remove some things I don't think are relevant, to make it easier for us to communicate.

randomuser gravatar imagerandomuser ( 2015-08-17 07:52:34 -0500 )edit

thanx for editing. I attached the systemctl results.

lutu gravatar imagelutu ( 2015-08-18 00:15:11 -0500 )edit

So you did disable it - do systemctl start NetworkManager;systemctl enable NetworkManager and try to use the adapter again.

randomuser gravatar imagerandomuser ( 2015-08-18 08:12:25 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2015-08-19 19:15:07 -0500

This was solved, see the comments for details. In summary:

  1. Attempt to use the device. Look at journalctl -f while doing so. Share logs you don't understand.

  2. Watch the logs for NetworkManager activity, and ensure NetworkManager is turned on with systemctl status NetworkManager. If not, do that with systemctl start NetworkManager;systemctl enable NetworkManager.

  3. Attempt to use the device. Look at journalctl -f while doing so. Share logs you don't understand.

  4. If your network does not provide an address, use nmcli to set a static address.

edit flag offensive delete link more
0

answered 2015-08-13 09:06:40 -0500

slartibartfas gravatar image

To use the adapter driver you have to compile a new kernel. This is not recommended because all the kernel versions you can use with the driver are no longer supported and lack many features.

edit flag offensive delete link more
0

answered 2015-08-14 16:50:54 -0500

Identical story here. Happily the OS (Fedora Core 3) recognized the adapter and all I had to do was go through the set up. Hopefully Fedora 22 is even smarter. I can't guarantee you'll be this lucky, but give it a shot before you assume you need a new driver.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-08-12 16:23:40 -0500

Seen: 1,049 times

Last updated: Aug 19 '15