Fedora Networking :: 3G USB Modem Has Wrong Device Port In NM - Change Device Port In Network Manager?
Aug 14, 2009
I installed ZTE MF 626 modem in my F10 with kernel 2.6.27.12-170, i run usb_modeswitch and so far things happened normally. Watching through /var/log/messages it says that F10 detects two port device for this modem: ttyUSB1 and ttyUSB2, and in the sequence it disable port ttyUSB1 BUT Network Manager still set this port.I mean, when i connect via wvdial appointing to ttyUSB2 i get connection, but Network Manager fails to do it appointing to ttyUSB1. How to change device port in Network Manager?
I want to do a simple port redirect, i.e. whatever comes trough whatever interface on port AAAA will get redirected to port BBBBI thought that iptables -t nat -I PREROUTING --source 0/0 --destination 0/0 -p tcp --dport AAAA -j REDIRECT --to-ports BBBBhowever it doesn't work, e.g. nc -v -w2 -z localhost AAAA gives:
nc: connect to localhost port AAAA (tcp) failed: Connection refused while nc -v -w2 -z localhost BBBB
VERY new to linux, erm but I have an issue that needs solving!I recently moved to university, where their network blocks sftp port 22, this means that I cannot connect to my FTP server which is running a version of linux.Now I've got this ftp server connected to a seedbox and it was created using the following walk through..Code:I have written this guide for a friend, but I though it would be useful for others as well.
There are several guides floating around, but I found that most always cock up in some way. This one is tried and tested to work on Debian Etch (on an OVH rps, but should apply to most servers).If there is a new stable release of rtorrent/libtorrent then I will update this guide to show you how to update it (without reinstalling the whole server).
At the bottom there are also instructions to install ftp access & some network monitoring software.Basically, I would really like someone to be able to construct the commands on how to change the listen port for sftp connection on linux or add another port to the list that Linux would use so that I could put in through putty.
I have a host and a client both running linux. Host has internet through eth2. Client needs to share that connection. The computers are connected directly using a crossover. I can ping from both fine. I figured I needed to port forward eth2 to eth0 to gain internet access in the client. How?
Code:
eth0 Link encap:Ethernet HWaddr 00:26:18:a6:fd:a3 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::226:18ff:fea6:fda3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
I am building a custom RedHat+<our-software> installer iso for our own appliance. I am using Red Hat 5.4. The appliances has two on-board eth interfaces. On the back panel of the appliance, these ports are marked 1 and 2. When I install RH, I find the device names assigned such as eth0/eth1 are arbitrary. I understand this is to be expected with kernels 2.6+. Most of our customers connect their eth cables to the port marked 1 on the back and assume they should configure eth0 to make the device reachable. However, sometimes port 1 gets assigned "eth1". This is not a blocking issue, but its going to confuse our customers and we wanted to make it easier on them.
From reading online discussion boards, I know HOW to switch the assignment of the eth names. However, what I am do not know is whether I need to switch them at all. So I have two questions 1) Is there anyway for me to tell which eth mac corresponds to which port on the back? Since they are soldered on the motherboard and not movable, I would think there would be some way to figure out that x mac address corresponds to the upper port (marked '1' etc). 2) Is there a way to tell this by running a linux command? We need to do this automatically so I need to be able to figure it out at install time from the kickstart post-install or similar.
Jun 19 20:34:08 localhost kernel: [352155.875643] hub 2-1:1.0: unable to enumerate USB device on port 2 Jun 19 20:34:08 localhost kernel: [352155.851515] usb 2-1.2: new low speed USB device using ehci_hcd and address 17 Jun 19 20:34:08 localhost kernel: [352155.677964] usb 2-1.2: device descriptor read/64, error -32 Jun 19 20:34:08 localhost kernel: [352155.503404] usb 2-1.2: device descriptor read/64, error -32
[code]....
The Motherboard is a Intel Desktop Board DH55TC, Sockel 1156, mATX, HDMI
After installation I boot a few times and used F15 on my Dell Inspiron 1564. But now I can't boot anymore. The screen just shows "unable to enumerate USB device on Port 4" and just hangs there with a blinking cursor below that line. I have no USB devices attached though.
If I forward port 5764 to port 80 to my VOIP device, I can nmap and get a proper connection. If I forward port 5764 to port 22 to my server, it comes up filtered. It even happens if I try forwarding port 80 to my server. So I'm sure it has something to do with my server, but I'm not sure.Here's my Linksys iptables:
I just added a 2 port network card to a system that is running Fedora 11, but it is INACTIVE. I open the Network Device Control to activate it but there is no network ports in Network Device Control. It is empty.It looks like the system recognize the card and loaded correct driver.
been trying to use a rs232 device that uses the usb port. it calls for a virtual com port to be created. i am running on ubuntu 10 and get hella confused with the search results i have come across.some call for the usbdevfs which apparently doesn't exist under lucid. another had me do use some "magic" in getting it to work.they provided a script mountusbfs.sh
Code:
# # Magic to make /proc/bus/usb work # mkdir -p /dev/bus/usb/.usbfs
[code]....
of course when i tried it the domount command doesn't exist so i modified the above script replacing the domount with mount and it seemed to do something things. usbview is specified as the determining factor whether or not you have the usbfs mounted properly. it wants to use proc bus and ubuntu doesn't use that anymore apparenlty. i have read that i need to enable a usbmon (flag?option?) in the kernel to be set. which it isn't when i followed the steps to check.
I am trying to use the printer port. But, I get this
Code: Broadcom EJTAG Debrick Utility v1.6r-hugebird Failed to lock /dev/parport0: No such device or address johnh@tux:~/Ubuntu One/hh$ run from johnh I permission denied sudo-ing I get above.
I'm running Slackware 13.37 64 bit. I run it on an HP2945SE AMD Turion x2. I am getting an error during boot up unable to enumerate USB device on port 5. It filters throughout the rest of the boot up commands / results. It doesn't seem to matter if things are plugged up to the USB ports or not. Also it doesn't seem to affect anything on the computer. Its just irritating.
[ 130.876406] hub 1-0:1.0: unable to enumerate USB device on port 4 [ 130.876453] usb 3-2: USB disconnect, address 6 [ 131.200399] hub 1-0:1.0: unable to enumerate USB device on port 4 [ 131.396382] hub 1-0:1.0: unable to enumerate USB device on port 4
[code]....
That is what I have exactly pluged, the webcam on the top of my screen and an external mouse. Btw, I can plug USB devices with no problem, so I am skiping this error since long time ago, but I don't understand this message and I would love to do it.
After the use of pppoeconf, the network manager does not recognise neither the wired nor the wireless connection anymore. (It nicely did it before that) I tried to replace the etc/network manager folder with that of a different machine. Still the same. What else can I do to reset Network Manager ?
Recently my Ubuntu 10.04 was booting slow and to figure out what was going wrong, I booted Ubuntu in text mode. There I found it was hanging on for 5-6 sec showing "unable to enumerate usb device to Port 1". I know it has something to do with Port1 / usb device, but could not understand and solve it.
My computer won,t boot up anymore, i keep getting the following mistake message: Unable to enumarate usb device on port 2. Don,t know how to skip that, and continue to desktop.
Startup script. I have a problem with an error on system boot: hub 2-0:1.0:unable to enumerate usb device on port 5
This error is continuous, filling up my system logs. It is also a known kernel bug. I found a solution here: [URL] but it is only good after I boot. I have tried to make a startup script in /etc/init.d in the following manner.
sudo mkdir /opt/usb/ sudo gedit /opt/usb/usbproblem.sh #!/bin/bash # chkconfig: 345 91 19 # description: stop usb problem on startup case $1 in *)
echo "fixing usb problem" cd /sys/bus/pci/drivers/ehci_hcd sh -c 'find ./ -name "2-0:1.0" -print| sed "s/.///">unbind' cd ~
esac exit 0 #End of boot script ##
sudo cp /opt/usb/usbproblem.sh /etc/init.d cd /etc/init.d sudo chmod +x usbproblem.sh sudo update-rc.d usbproblem.sh defaults 92 20 but it does not work.
I have (at least 4) native USB ports that contain flash drives. I know that the /dev/sd[abcd] devices are created in the order they were inserted, but say you have all four plugged in at boot time, or further, they can be plugged and unplugged in real time. At times, /dev/sdf, /dev/sdg, etc. are created as well. I'm ignoring external hubs for now.
I need to know which drive is plugged into the "top port on the front panel", etc, by physical location. From dmesg I can check right after booting and get the physical assignment of a PCI device, say, PCI 0000:00:10.3, as being assigned to the EHCI usb bus. From /proc/bus/usb/devices, and the "T:" field, I have learned that the physical connectors I'm interested are known as USB Bus 1, Port=00, Port=01, Port=04, and Port=05.
From lsusb I can see all sorts of information from the USB point of view, but with no /dev/sd references.
From /proc/scsi/scsi, I can see what scsi devices have been created, with a count consistent with the number of flash drives plugged in, but no USB data.
So, I can get lots of information from the USB storage point of view, and lots of information from the SCSI point of view, but nowhere can I find how to correlate them. In other words, if I want to mount the drive plugged into a given physical slot, how can I find the /dev/sd device I need to mount? udev isn't really interesting here, because I'm just looking for the information that udev would use to answer the same question.
I've done some heaving exploring in the /sys and /proc filesystems and have not yet found where the USB and SCSI worlds intersect.
The closest I have found is (where "Port" is the physical port number from above):
This seems to have some mapping to the physical port and references a "/dev/sd[a-z]" value, but I don't know how reliable it might be, nor do I know if my having to increment that physical port by 1 is meaningful. Anyone have a simpler approach?
So, my goal becomes mount /dev/<sd that was created for the top slot> /mnt/top mount /dev/<sd that was created for the bottom slot> /mnt/bottom etc.
Running Fedora 13, I cannot add my HP J4680 through the HP Device Manager. I get an error message saying that the print queue cannot be started and it asks me to restart CUPS. I tried restarting CUPS and adding the device. It did not work. The printer is on my home network wirelessly. I can add it through the CUPS web interface and print, but then I cannot access the scanner. I tried adding the device after it was already added through CUPS, but that did not work. I would like to use the scanner; I don't really care about the fax.
I've been struggeling with this for a few hours now, googleing and so on trying to find an easy way to just switch which device I want as primary for internet connections. After long battles I'm at a loss, this is the current automatic routing
Code: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 85.225.76.0 0.0.0.0 255.255.252.0 U 1 0 0 eth0 85.225.76.0 0.0.0.0 255.255.252.0 U 2 0 0 wlan0
I just brought up FC12 on our VSphere to begin testing..The nic did not configure properly for some reason.. I was able to go to command line, and do an "ifup ifcfg-eth0" and DHCP got an address. Go into GNOME - System-Administration - Network , or system-config-network the "Activate/Deactivate" is greyed out. Also, GNOME - System-Administration - Network Device Control show NO device..
I have bought a so-called web'n'walk stick, which identifies itself as a "Globetrotter HSDPA Model". I managed to get it identified as a serial device (initially, it is detected as a USB drive), but I fail to get it working.
For those that use Virtualbox on their slackware host and have a windows (xp) guest running. I have tried various settings for sound (Alsa, PulseAudio), the AC97 drivers are installed in the Windows xp guest os, but there is no sound and there is an unknown audio device (in the windows device manager). If I remove the AC97 drivers and use the soundblaster16 drivers in the Vbox settings there is no unknown sound device, but there's still no sound. why I can't get sound working?
In SuSE firewall0. I do have a openSuse 11.4 and multiple IP addresses on eth0 interface
I run (trying to/have to) multiple TOMCAT servers.
I am trying to have each tomcat instance listen to on separate IP address for example:
What i am trying to do is to redirect
a) tomcat 1 -
a) tomcat 2 -
And so on.
I know that it has to be possible.
I do have just eth0/
Is is it possible. Do I have to create "vittual interfaces"? eth0:1, .......... and do redirection ?
"Server" has got just single interface - just 1 ethernet calbe goes to that server. I am planning to have 10-15 tomcat's on that server (I have to unfortunatley) and each has to run on port 80
Is it possible to "grant" permissions to normal users to run app on port 80 - that would solve me lots of problems if impossible to redirect.
I tried to setcap 'cap_net_bind_service=+ep' /path/to/tomcat ...... but no luck