Ubuntu Networking :: Block Mac Address In Adhoc Network?
Sep 1, 2011
I want to block the Mac address in adhoc network to check the behaviour of the aodv protocol.Is there any other utility available for this purpose rather than Mackill..?
Here's the setup: I have 2 laptops: 1. Dell Inspiron 8600 with an intel 2200BG wifi card (Ubuntu 10.04) 2. Asus eeePC 1000 (Ubuntu 9.04)
Internet setup: Laptop 1 connects to a 3G connection and shares it with laptop 2 using an ad-hoc network.
I upgraded to Lucid on Laptop 1. Prior to the upgrade everything was working. Now, when laptop 1 tries to connect to the ad-hoc network it almost immediately disconnects and tries to reconnect again.
Ad-hoc network settings: The ad-hoc network uses a WEP key. In IPv4 settings, "Share to other computers" is selected.
Dmesg output: Code: are: requesting ipw2200-bss.fw ..... ** (nm-applet:4259): WARNING **: _nm_object_get_property: Error getting 'Default' for /org/freedesktop/NetworkManager/ActiveConnection/327: (19) Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist ** (nm-applet:4259): DEBUG: going for offline with icon: notification-network-wireless-disconnected
I've a laptop which is connected to ethernet. I want to access internet from my N900 through wifi( available on Laptop). So i created adhoc network on laptop and connected my smart phone to it. But i still cannot access Internet from my phone. Where am I going wrong?? or is there another way to acces internet from my phone via laptop?
PS: I followed the procedure given in this link to create an adhoc network.
Version 10.04 LTS. Installed desktop version and network worked but I needed a static IP address and the install configures for a DHCP configured address. I tried changing to static address using the System->Preferences->Network Connections application but was unable to get the system to come up with the network up.
So I manually modified the /etc/network/interfaces and the /etc/resolv.conf files. I restart the system but when I do an ifconfig, I don't see a configured IP address on eth0 (only the loopback address). If I run /sbin/ifup eth0 everything then works fine and ifconfig shows the correct address bound to eth0.
I tried setting up a adhoc wifi in my debian laptop, so that my other laptop running Ubuntu could connect to it. Though the access point made on Debian laptop is visible on Ubuntu laptop, I could not establish a connection.Then I used create new wireless network tab to create a connection named test1. Though it shows up on Ubuntu box, i couldnt connect to it.
What I want to do is have two ad hoc servers running. One ad hoc network would host a web page giving stats on all the players and other ad hoc server to host an online multi player game. This way my clan can practice in any enviroment and setting (i.e parking lot outside at a park, motel rooms) without messing with a wired network. When someone connects to my laptop through wifi ad hoc mode, how can I automatically direct them to my web page? I've search this question high and low on alot of forums and google,but could not find anything relevant. maybe I'm just not asking the question right.I'm not sure,but I also might want to port forward tcp:28960 or UDP: 28960, 20500, 20510. Which is better for call of duty 4 Modern Warfare 2?
I am trying to establish an adhoc connection in my ubuntu 10.10 and share my cable internet throughout this connection with my Android phone. I have read some guides but I couldn't be successful. (I have another windows mobile, and it couldn't connect too). I have installed Firestarter in order to enable internet sharing. My main Problem is that, no one can obtain IP adress from the adhoc connection, whether Firestarter is active or not. What should I do in order to make the other devices gain IP address from this connection. If I have to set static IP what should I do exactly?
I'm using Ubuntu 10.10 (Maverick Meerkat) on my HP laptop. My office desktop uses Windows 7 Home Edition. I created an adhoc connection on my desktop pc because I also want have an internet connection on my laptop. But Ubuntu seems do not detected the adhoc I created on my pc. I also tried to connect using the hidden wireless network and entering all the necessary access (wep key, etc...) but still didn't work. Is there any way that I could connect my Ubuntu on a adhoc? Is that possible?
I have the following machine : laptop : Dell Inspiron E1505 Wireless : Intel Pro Wireless 3945 (ipw3945-1.2.2 + ipw3945d-1.7.22 + ipw3945-ucode-1.14.2 / eth1) Printer : HP C4580 Photosmart wireless (hplip-3.9.8) Ethernet : Broadcom Corporation BCM4401-B0100Base-TX (b44.ko / eth0) External Modem : Siemens CL-110 ADSL OS : Fedora 6+11 (currently on fc6)
The external modem is connected via the laptop ethernet and provides the internet connection. The printer is connected via wireless adhoc to the laptop's IPW3945 wireless card. I use firestarter as firewall. When firestarter is disabled everything works fine. If enabled it blocks my printer. I have tried to open every possible port via firestarter (according to several other threads) with no luck. My printer is set (under system-config-printer) as :
i have recently had a house mate move in and he is using my wireless network, even though i asked him not to give out the network key to his friends either he has or they have hacked my network and are using it when they come over, is there a program i can use to monitor the number of computers that are connected to my network and block them, or is there a way i can just wee what is going on. They seem to just connect and i don't want to have to change the password particularly because that involves changing it on multiple devices.
I use getaddrinfo to get the ip address of the server, it works well on other 3 machines, but always get local address 127.0.0.1 on an 64 bit linux machine. Therefore, other remote clients can not connect to the socket server because the server binds local address l27.0.0.1.
I have also tried pass 0.0.0.0 to getaddrinfo, now the server bind on 0.0.0.0(all available interface). But now I can not print the correct network address of the server, as it is always 0.0.0.0 which is provided by getsockname.
I do not know how to get the network address of the server, rather than the local address.
but it give me error as like: - (This is the output of # squid -k parse) aclParseAclLine: Invalid ACL type 'arp' FATAL: Bungled squid.conf line 1234: acl block arp 00:13:45:d3: 24:e4 squid Cache (Version 2.5.STABLE6) : Terminated abnormally
I believe I have the wireless card installed properly and wicd sees the router. When I try to connect I get an error "can not obtain IP address" Output from iwcongif and lspci is.
dillan@dillan-desktop:~$ iwconfig lo no wireless extensions. eth0 no wireless extensions.
I'm using Ubuntu 9.10 and I recently changed certain settings of my router. After that ubuntu isnt able to obtain IP address from this wifi network. I've tried to connect with win 7 and OS X and both of the OSes are able to connect to the same wifi network. I tried to connect ubuntu to another wifi network at school and it connected successfully.
Notice the 2 in address. Seems to me it doesn't like the network and wants it to be 172.16.0.0, but I am adding to a network already configured this way.
I'm not sure this has anything to do with Samba because I can see and access the ubuntu share files that I share with windows still. I can't see the windows network share files though. If I switch back to my private IP the windows network comes back. How I can get the network to show on my public ip.
I recently set up a web server at home, using a non-standard port, due to my ISP blocking 80. I just checked my log files, and I see a TON of entries indicating that a file was not found "proxy-1.php", "proxyheader.php", etc. I do not have these files, not intend to have them as part of my website. I did a whois looking by IP address for several of these, and they all seem to come from an ISP in China. Is there a way to BLOCK any IP address outside the US (that is somewhat simple to do?)
I'm using Ubuntu 9.10 and for a while I had no problems connecting to the internet through the wireless network. But recently, my wireless connection started disconnecting regularly. Following an advice I found online, I installed linux-backports-modules-karmic, but after a reboot the wireless device stopped working altogether - it had lost its driver. Since then I managed to associate the device with Broadcom's STA driver, which I had been using before. But now, the wireless device cannot connect to the internet anymore. The network manager's output to /var/log/syslog indicates that the device cannot obtain an IP address. When I run code...
I have been trying to wirelessly connect to my network for weeks now. My netgear dongle is fully working. I have installed the driver using ndiswrapper. I can see my network and signal is excellent; everything is working perfectly. When I try to connect it thinks about it but never connects. The password is fine; it works great with other computers. decided to have a go with wicd, so got rid of the Gnome network manager and installed wicd. Adaptor and wicd appear to be working brilliantly EXCEPT I cannot connect. wicd tells me its a bad password. Password fine because it works brilliantly with every other device I connect to my network. If I remove security from network, it tells me it cannot get address, even though it sailed passed that with no problem when there was security. I have searched the internet for a solution to this problem time and time again. Lots of people seem to be having this problem, but no one knows the solution. Is there a solution? It happens with both Ubuntu 10.04 LTS v1 v2 and Ubuntu 11.04. What the heck is going on. This happens with WPA WEP and anything else I try to use
how to redirect network traffic to a new IP address using IPtables. I am using Baffalo router and the rtos used is DD-WRT. Basically, I want it so that any connection going through my router to a specific IP (say, 192.168.11.5) will be redirected to another IP (say, 192.168.11.7) so any outgoing connections made by a program that is attempting to connect to192.168.11.5 will instead connect to 192.168.11.7.
I have a server with 2 network cards. eth0 is used for all traffic and everything is working fine on this side. Eth1 is used for traffic to and from 1 ip address.
Lets say the ip address of eth1 is 123.123.123.10 and its gateway is 123.123.123.1. I need to pass all traffic to 123.123.123.20 through eth1. What command would i use?
I get assigned an IP from the university's server. Every now and then, a student will plug in his router to the network trying to get wifi in his/her room.
And by doing so will start assigning IPs on the network, while rendering useless the university dhcp server, which has to cope with a higher number of pc's.
How can I specify to dhclient (or the linux system in general) NOT TO obtain IP addresses given by a specific mac address ?
I want to block some ip address that are attacking my server and making my ssh port busy. On searching the google, I found
Code: iptables -A INPUT -s ip_address -j DROP
I will add this rule in iptables. My questions are: 1) do I have to do
Code: chkconfig iptables on
so that it load the iptables at boot. I am wondering why do I need this because iptables is already modified and it loads the iptables at boot time if firewall is enabled.
2) When we add the above rule, which file is modified? Another way, where are this rules stored? It is not in /etc/sysconfig/iptables and /etc/sysconfig/iptables_config.
I closed all Internet related apps and the connection persisted. After a reboot it did not reconnect (yet).The IP address appears to belong to esomniture.com - some sort of web analytics company. How do I prevent my computer from connecting to these rascals. I have found a lot of documentation regarding stopping inbound connections to services on my computer but not the other way. I have various filtering addons installed in Firefox however, this connection seems to be at a lower level as no program is specified as being responsible for the connection.