Ubuntu Networking :: Cant Put NIC In Promiscuous Mode?
Jun 17, 2010
want to monitor network traffic with ntop from a Lucid 10.04 machine. Both NICs have picked up an IP address, I need to put one in promiscuous mode. I typed sudo ifconfig eth1 promisc and the response was SIOCSIFFLAGS: Permission denied
View 1 Replies
ADVERTISEMENT
Nov 18, 2010
I've looked today on my logs /var/log/message and I find device eth0 entered promiscuous mode I don't remember putting eth0 in promiscuous mode I'm connected to the net thru a router how do i turn that off ?
View 1 Replies
View Related
Sep 16, 2010
I need to route packets coming from a standalone switch port which is a mirror ("tap") of another port ("source"). I can't seem to forward packets whose MAC address is for a different device (the actual "target" of "source"). My device is in promisc mode,I can see the incoming packets in tcpdump and Wireshark. The only packets which get forwarded are those which have my MAC destination address (I changed the wiring to come straight from source and not the mirror port, to get "my" MAC address in the packet). My routing table is configured to forward and I have ip_forwarding enabled, obviously (otherwise packets sent to my MAC wouldn't route). By the way, the incoming packets are all VLAN tagged and I have matching subinterfaces.
Q1 - is this inherent, that packets won't get "passed up" to the IP layer unless the MAC addresses match?
Q2 - Would ebtables be a good solution, i.e. rewrite the dest MAC address to my own MAC addr and send to the INPUT target?
View 5 Replies
View Related
Jan 13, 2011
what entry do I have to add to my ifcg-eth1 file to put the "nic" in promiscuous mode?
PHP Code:
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
DEVICE=eth1
HWADDR=00:00:00:00:00:00
ONBOOT=no
HOTPLUG=no
should I add PROMISC=ON
View 3 Replies
View Related
Mar 22, 2010
I am trying to do something outlandish with iptables (or so I think!).I have a source sending udp packets to a destination (say dst11). Using port mirroring I am able to get all these packets to a different machine (say dst22). I am able to see these packets on dst22 interface using tcpdump.I want to analyze the packets on dst22. So what I do is put dst22 interface in promiscuous mode (using ifconfig eth0 promisc). This in theory should get the packet through the MAC layer. Now using iptables I am trying to DNAT the packets in nat prerouting to change the packets destination IP to dst22's interface and change the destination port.
View 2 Replies
View Related
Sep 21, 2010
I ordered this USB 802.11n dongle for about $10 and am having problems.I found a firmware related bug (Bug #595455) that keeps it from working out of the box and got around that. I put the right firmware file in the right place and CAN CONNECT TO B or G Access Points.hen I put my AP in N-Only mode, I can see the network, but cannot associate. With the AP in mixed mode I can Associate using G.The most interesting thing I found was something that had very
few google hits (like 4). In the dmesg output after associating I see the message:
Successfully associated, ht not enabled(0, 1)The most interesting thing about this is the (0, 1) at the end.I don't know what that means but it seems like a clue as to what the problem is.This device uses the realtek chipset 8191S, there are conflicting reports on this, but all the reported possibilities seem to use the same driver from realtek (rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.2010 0625).Here is some random info:
Dmesg output:
[85082.620027] usb 1-3: new high speed USB device using ehci_hcd and address 6
[85082.754586] usb 1-3: configuration #1 chosen from 1 choice
[85082.755456] ==>ep_num:4, in_ep_num:1, out_ep_num:3[code]........
View 1 Replies
View Related
Aug 30, 2010
Below is a print out of my partition Table from Fdisk, in Cylinder mode, Sector mode, and then in expert mode?
Why in expert mode does it look like Partitions 2 and 3 share the same sector / hd / Cylinders? Is this OK?
Code:
View 3 Replies
View Related
Nov 9, 2010
After seeing those 4G phone commercials with that newfangled mobile hotspot tech, I have to admit I was eager to trade in my crappy 2 year old CDMA phone for one. That is, until I saw the price tag. 30$ a month for hotspot? No way, so what I did was activate the tethering feature buried deep within the primitive OS accessible only with a plethora of codes and hackery. So long story short: I can now network on the go because Ubuntu sees my device as a "mobile broadband device". Unfortunately, my ipod lacks a USB port for tethering so I use my freed up wireless card to make an AD-HOC network for my ipod to connect through my makeshift modem. Now, my issue is that the modem isn't really that mobile any more because I have to have my laptop OPEN to keep my networks on ,otherwise I close my laptop and no more Adhoc or mobile broadband! So, my question is if I can close my laptop but still keep it connected to the mobile broadband and broadcasting the adhoc network.
View 3 Replies
View Related
Apr 23, 2010
how do I make grub boot to allow me to choose, like safe mode and normal mode and all that second, how do I do automated back ups (preferably using file copy) for something like every sunday at 11:00 am using the command line, i use to know but forgot.
View 1 Replies
View Related
Nov 18, 2010
I attempted to install Catalyst 10.11 for my ATI HD 2600XT and the system now only displays lines and a large block of pixels where the mouse would go. CTRL-ALT-F1 kills the system and does not provide a command prompt. This is a single installation, not dual-boot, but there is no Press Esc to access the Grub menu during startup so I cannot choose safe mode. I attempted to get into Recovery mode using the flash drive that I used to install the system and it tells me there is no Recovery kernel (I used the 64-bit Desktop installer, not alternative). Does anyone know an alternative to get into the Grub menu other than ESC during bootup? Alternatively, do I need to download the 64-bit Alternative ISO and create a new boot disk with it so I can access Recovery mode? Is there something else I'm not thinking of?
View 5 Replies
View Related
Jan 30, 2010
I installed ubuntu 9.10/9.04 on my usb key as live image couple of time. I have trouble when I try to install wine on my usb key. I am wondering what is the difference if I install my ubuntu into my usb key directly? will that be slower compared with live CD mode? I guess live CD mode may use memory as part of harddisk to save temepory files and normal usb linux installation won't do this for me. Is this true?
If so, do I have a choice to point my tmp directory to system memory area?
View 1 Replies
View Related
Feb 8, 2011
When I first installed ubuntu 10.10, the display was for some reason tinted green and shifted a few inches to the right. After experimenting with the resolution preferences, I eventually got it to a large resolution (1280x720 ... or something like that) yet is was quite blurry. I found out that the problem was with my monitor after I switched it to TV mode, then back to PC mode. It became perfectly clear! All I had to do then was adjust the screen positioning by shifting it left a bit.
Even though I have made the resolution I figured out to be default, whenever I turn the PC on after shutting down, it goes back to the "green-and-to-the-side" mode. :/ Ain't really a big problem, until I tried to fiddle with the resolution preferences s'more.
Somehow, I have set it to be twice as wide of the maximum my monitor can display, went back to being green tinted for some reason, and is completely shifted left (yet the right side is still visible) This means that I cannot see what is going on the left side, and cannot adjust the resolution preferences, nor can I click blindly cuz the border is only around my visible side of the screen. Now it is stuck like this.
I've researched many hours and eventually found the terminal command for the resolution preferences. it popped up on the visible side. Although it was to no avail cuz I HAVE TRIED EVERY SETTING AND OPTION and absolutely nothing changed. I assume a system restore would simply revert it back to the previous satisfactory settings, but the thing is I want to FIX it. I am new to this terminal stuff, so I want to learn it and all that. To put it simply, here's what I want:
Learn how to manually adjust resolution without depending on a simple dialog box. Make the satisfactory resolution default and consistent through turning it on and off. Link that could teach me the essential commands, all this googling is stressful. D:
View 3 Replies
View Related
Dec 7, 2010
I accidentally chose the "recovery mode" and now i dont know what to do. What commands i have to enter to go back to normal ubuntu mode with graphic etc?
View 9 Replies
View Related
Aug 6, 2010
Code:
root@Atlantis:~# iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.
root@Atlantis:~# iwconfig wlan1 mode master
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan1 ; Invalid argument.
All other modes except secondary work fine.
The wireless cards are both PCI, a Netgear WG311v1 and a Linksys WMP54Gv4.1, though I'm not sure which is which.
View 5 Replies
View Related
Oct 9, 2010
I used the information on this page...
wiki.archlinux.org/index.php/ZTE_MF626_/_MF636
...to be able to configure the usb modem in my linux computer. As I've been using Linux there onwards, I didn't mind any longer.
Now I plugged the usb into a windows computer but the driver installation routine doesn't start. It's obvious that's because I deactivated the cd mode. How do I bring it back?
View 2 Replies
View Related
Feb 10, 2011
I have never had a working suspend. But ... every year or so I try it DOH!!! to see if the updates have solved itI used suspend mode today, and when I woke the system up , all seemed fine untill I tried to browse the internet.It told me I was offline. no ammount of clicking "go online" would work.So, then I noticed the network connection was broken.I did a few things to get connected, and I want you all to tell me what I need to put back again ! IPV4 and IPV6, I unclicked the box to require this for connection to complete.Somewhere else, there was a list of servers to ignore. I removed them all. (I think there werre 3) one was localhost another was similar, and the third was a number.I just want to know what these should be set at, because just because it works - doesn't make it right
View 6 Replies
View Related
Jan 31, 2010
When I try to set my Realtek Semiconductor Corp. RTL8187 Wireless Adapter to master mode I get the following error.
Code:
$ sudo iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument. Is this the result of a driver or hardware incapability?
View 4 Replies
View Related
Mar 22, 2010
I can't get my wireless into monitor mode. I;m running ubuntu 9.1 karmic It connects fine to wireless networks. But when i do: sudo iwconfig wlan0 mode monitor. I get: Error for wireless request "Set Mode" (8B06) :SET failed on device wlan0 ; Device or resource busy. I can only see wlan0 (wmaster0, eth0), not ath0 or wifi0 mentioned elsewhere, in wireshark. I only see my own ip and packets coming to and from that. my system tells me i have an atheros ar9285 chipset in place.
View 2 Replies
View Related
May 31, 2010
i am having problem whit my ar9285 i can not put it in monitoring mode. I am using bt4 beta in vmware , have conection in internet but when i type" #iwconfig eth0 mode monitoring,it says "no such device".What sould i do .
View 1 Replies
View Related
Aug 29, 2010
I have a HP Pavillion DV7 laptop running Ubuntu 10.04, and I am having some problems with Ubuntu handling a network connection. Every so often, I leave my computer in locked mode overnight to download something. But, when I do this, the network just deactivates early on [there is a symbol of a blank wireless symbol with a red "?" by it]. Both the wireless and wired network connections are deactivated, and I am using a wired connection. This also sometimes happens in suspend mode, too, but less often. I have to restart my computer before it will connect again, as logging out and back in again does not suffice.
View 1 Replies
View Related
Aug 30, 2010
Now that i have ubuntu how can i boot into vista's safe mode with networking? I tried F8 at start up but it brings me up to a boot device screen. The windows boot loader has been replaced by GRUB so now i can's select safe mode with networking. The only other option i tired is to go to msconfig and change it to safe boot but theres no option for safe mode with networking.
View 2 Replies
View Related
Oct 16, 2010
I have setup FTP Server on my Windows machine with Filezilla server. Now, if I try to copy files from it using Ubuntu 10.04, Lucid, it downloads incomplete files if I don't switch to binary mode.
Is there some config issue from Ubuntu client or something needs to be changed from Windows Client.
View 4 Replies
View Related
Oct 31, 2010
Hardware: Vostro 3500, BCM4353Ubuntu 10.10Today I decided to test uptime on battery. But when I started using battery I noticed that internet connection is very slow(around 1-4 KB/s, normally ~128KB/s).I used Code:iwpriv eth1 set_pm 0(pm = power mode? And what means this parameter 0, 1 and 2?)and everything seems to be ok now.And my question is - where can I edit which power mode settings for wifi are used on battery?
View 1 Replies
View Related
Nov 7, 2010
I have OpenVPN running on my Ubuntu Server just fine. I can connect over the Internet and access all my resources on the LAN via bridged mode perfectly. My server only has one LAN card and sits behind my router, which means it has a private IP address of 10.1.1.2....Which brings me to my question. I want to open up access to my friends via OpenVPN, but I don't want them to be able to access other machines on my LAN (e.g. 10.1.1.20). However, I do want them to be able to talk to each other and pass broadcasts (old LAN games), as well as my laptop (let's say 10.1.1.7).I've tried using iptables to block traffic to the LAN (such as .20), to no avail. I've been reading up and it seems as though iptables won't even filter the traffic, as it's passed at a lower layer. Is this true? If so, what do you recommend I do in order to prevent my buddies from accessing the rest of my LAN while siumultaneously allowing broadcasts pass for some very old Windows LAN games (we're talking Windows 9.
View 2 Replies
View Related
Dec 30, 2010
I wish Verizon had 4G in my area but not yet. I do get very good 3g speed considering I am coming off of satellite internet access(sucks 2sec latency). I did have the usb modem working from laptop running windows xp in 3g mode with no issues. I have Ubuntu 10.10.
Below is my wvdial.confroot@htpc:/etc# cat /etc/wvdial.conf:
I run "wvdial Verizon3G" and constantly get the below output except once when I did get:
I have trided to reproduce how I got it to work once but have had no luck. Does anyone see something I am missing?root@htpc:
View 8 Replies
View Related
Jan 27, 2011
I just installed Ubuntu 10.10 and the internet doesn't work in normal mode, but it works fine in recovery mode. I can't find the network icon on the menu bar of the desktop in either modes.
View 1 Replies
View Related
Feb 27, 2011
ubuntu: 10.10 Updated
Modem: Dlink DSL2740U
Internet: ADSL
Phone: Galaxy S I9000 (WiFi)
I set username/password in modem (PPPOE mode) and when modem is Turn On, I connected to Internet. but in opening site or download file (any send packet) I have to wait ~20 sec to replay server. but if I use Bridge mode in modem I connect to Internet by ubuntu pppoe connection everything is fine and speedy.
I need to set username/password in PPPOE mode cuse my phone is thirsty of Internet.
I don't have this issue in Phone or Windows.
I can't send this thread, after ~20 sec waiting, Firefox wants to download a "newthread.PHP" file ! I have to Exchange to bridge mode!
View 3 Replies
View Related
Aug 25, 2011
I have a built in wireless card that is capable of connecting to my network on the Wireless N protocols. However it will only work at G speeds. It shows it's connection speed at 54mbps and when i set the network at N only mode it could not even connect. How do I get it to connect at the faster wireless speeds? I need the faster speeds as I have a media server on my network. This is the hopefully relevant information you'll need from my network
sudo lshw -C network
*-network
description: Wireless interface
product: AR928X Wireless Network Adapter (PCI-Express)
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:08:00.0
logical name: wlan0
version: 01
serial: 00:22:5f:a6:b6:22
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=2.6.38-11-generic firmware=N/A ip=192.168.1.123 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
resources: irq:17 memory:d1200000-d120ffff
View 3 Replies
View Related
Dec 1, 2010
My linux workstation recently crashed. After rebooting, Linux (Red Hat 5.3) will not boot properly and automatically went into emergency mode or recovery mode i think. I can still see my /home/user/ and all the files inside.I boot from CD to rescue mode and tried mounting read-only the /dev/sd5 which contains the files in the crashed hard disk to try to copy out my files but mounting was unsuccessful (invalid argument). I checked the filesystem type using fsck -N /dev/sda5 and shows it to ext2. i tried to mount another known working hdd and was successful.
My question is why in emergency mode, the crashed hdd is able to be mounted automatically as read-only but cannot be done in rescue mode thru a bootable CD?Is there any special mount options used in emergency mode?I also cannot copy out in emergency mode booting from the crashed hard disk as everything is read only.
View 3 Replies
View Related
Jan 2, 2010
I played with the graphics in kde4 and seem to have losy my installation. i have tried the rescue system option, recover system options and in desperation (i was just about to reinstall) tried booting in failsafe mode, and it worked!
where do i go to find out what the problem is regarding the normal boot mode? i think my pc is starting to resent the continual use of the reset button!
View 6 Replies
View Related