Ubuntu Networking :: Netcat Doesn't Seem To Work

Jul 27, 2010

I've tried to use netcat in the past and assumed it was my stupidity that was preventing it from working... but this is getting ridiculous. I'll execute nc -l 3333 on a server at 192.168.0.105 (after opening it on the firewall of course) then I run nc 192.168.0.105 3333 on my laptop (from 192.168.0.101). and nothing happens... i start typing and nothing comes up on the terminal.

I run nc -z 192.168.0.105 80 which should ideally do a port scan of port 80 on that server (of which I'm running a web server that clearly works) but it doesnt even give me any feedback. Nothing happens. Now when I use the verbose flag i see that I am indeed connecting to the specified port on the server successfully (so the port scan one is a success but only with the verbose flag... which shouldnt be the case I believe). But still once I have the server listening and the laptop connected... I type in both windows and nothing happens...

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: Why Can't Get Netcat To Work Even On Localhost

Oct 22, 2010

OK here's what I'm doing:

On terminal 1, I enter:

$ nc6 -vlp 5000
nc6: listening on 0.0.0.0 5000 ...

On terminal 2, I enter:

$ nc6 -v localhost 5000
nc6: ygt-asfandq (127.0.0.1) 5000 [5000] open

Now, as SOON as I make the connection on terminal 2, both netcats immediately quit back to the command prompt. The return code for both is 0.

I do not have ANYTHING in my firewall (I checked with sudo iptables -v -L)

I have attached a wireshark trace of the conversation..

View 2 Replies View Related

Networking :: OpenSuSe 11.4 - How To Ping DNS Using Netcat

Jun 15, 2010

I am new in linux. I am using opensuse 11.4. How can I ping a DNS using netcat?

View 6 Replies View Related

Networking :: How To Send Udp Packet To The DNS Using Netcat

Jun 16, 2010

How can i send udp packet to the DNS using netcat in opensuse.

View 7 Replies View Related

Networking :: UDP - Stop Netcat Connecting?

Dec 9, 2010

I'm wondering if I can use netcat to listen to a UDP port and display ALL incoming packets, no matter where they're from. If I just do 'nc -u -l 1234' then netcat will listen for incoming packets and connect() to the source address of the first one it sees (I can see this with strace). Is there any (standard) way to stop the connect() call? I can make a hack to block connect() with a function of my own, but that'd be ugly

View 6 Replies View Related

Networking :: DNS Lookup Doesn't Work, Ping, Firefox Will Not Work Properly?

Apr 23, 2009

I have this annoying problem since day one.I am testing out Red Hat RHEL5, everything is fine except DNS look up.If I ping www.google.com, it doesn't work, ping ip address it all works;if I bring up browser, put www.google.com it doesn't work, can't find the name, however, simply put ip address there it works.My DNS seeting seems ok, and the DNS works from Windows box.

View 2 Replies View Related

Fedora Networking :: Connecting To Server With Netcat

Jul 10, 2009

I connected two machines, I have their given of the addresses ip in a static way and not with DHCP. I gave to the machine server the address: 192.168.0.1, and in the machine client the address 192.168.0.2.

View 5 Replies View Related

Networking :: Relay UDP Broadcast Using Netcat/Socat?

May 7, 2010

Here is my problems :I have two networks :1. LAN (10.1.x.x subnet 255.255.0.0), and2. my internet public (IP 202.xx.xxx.xxxx subnet 255.255.255.240)I have an application in my LAN PC (10.1.2.240) which broadcast udp packet to its client. The client in my LAN can receive the udp packet, no problem.My question is how netcat/socat can RELAY the udp broadcast packet to one of my IP public address so the message can be received by other client from internet ?

View 5 Replies View Related

Networking :: Use Netcat As A Bridge To Connect Two Server?

Apr 11, 2011

i have 3 servers in 2 dcs as follows; server 1 (dc1 - dmz) --- server 2 (dc1 - internal) --- server 3 (dc2 - internal) Now I have an application in server1 that have to connect to port 44000 in server 3 but dc refuse to open connection saying they do not open connections between dmz and dc2 (i have no say over this).

However I can connect to virtually any port from server1 <-> server2 and also server2 <-> server3. Is it possible to do something like;

server1 <-> server2 <-> server3:44000 using nc to get the app work.

View 3 Replies View Related

Networking :: Using Netcat To Make A Simple Proxy?

Nov 21, 2010

I made a simple proxy using netcat and it works great, the idea is to make the server and client communicate through two named pipes, file1, file2.

$ mknod file1 p
$ mknod file2 p
$ nc -l -p 12345 0<file1 1>file2 &
$ nc 192.168.2.118 80 1>file1 0<file2 &

The problem Im facing is that I cant seem to intercept the data going between the client and the server. I want to be able to have the data coming to the server in a variable, manipulate it and send it to the client, and the other way, have the data coming to the client in a variable, manipulate it and send it to the server.

Im running on an embedded device where tee, awk and many other commands are absent. how can I redirect the data to a variable, manipulate it and pass it to the other side, that is the question.

View 6 Replies View Related

Ubuntu Networking :: Ekiga Doesn't Work With 10.04

Jun 9, 2010

I have recently installed ubuntu 10.04. After some days of trying I can say that ekiga doesn't work with 10.04. With the same computer I was perfectly able to use ekiga with ubuntu 8.1, the 10.04 gives me connections problems.... it simply say says "Could not register (Failed)".I'm trying to connect with my voip provider (12voip.com) but it seems that I can't. I have even tried other programs like empathy, Twinkle, QuteCom but with none of them I can connect with my voIP provider. I think there are some connection problems but I really don't know how to face them. We have to configure router in 10.04 for sip connection? Actually I can't phone at all.

View 4 Replies View Related

Ubuntu Networking :: Set Up JVJ 3G Modem - URL Doesn't Work

Aug 30, 2010

I have JVJ 3G modem,one from Singapore. I have try out as [URL]... But it doesn't work. Has anyone try it before?

View 4 Replies View Related

Ubuntu Networking :: HP Printer Doesn't Work?

Aug 31, 2010

I am networked to a Windows machine. I can see and open files across the network. I can see and add my HP 6000 printer (it is on the Windows machine). On my Ubuntu machine this printer has a check mark by "Enabled" and "shared" but I cannot set it as default (that option is ghosted) and when I try to print a test page it says "unable to connect to CIFS host" I downloaded the HP Linux setup program. That program cannot locate the networked printer at all.

View 7 Replies View Related

Ubuntu Networking :: Wireless Doesn't Always Work

Nov 15, 2010

I'm running Ubuntu 10.04 on my laptop. Up until about a week ago, my wireless worked fine, but now it rarely connects. Sometimes the connection indicator shows that I am connected, but when I click on it it doesn't show any active networks. Even when I use a wired connection it doesn't always work.

View 3 Replies View Related

Ubuntu Networking :: Bluetooth On 10.04 Doesn't Work?

Dec 22, 2010

i have had my bluetooth keyboard and mouse working fine for a little while now, then one day.. seemingly out of the blue (no pun intended) it stopped. heres what i deduced:

Mouse works fine, always keyboard doesnt.

I'm using a logitech dinovo edge

and i can manually force the keyboard to connect by putting the keyboard into discoverable mode (press the button on the back of it) and using hidd:

Code:
hidd --connect XX-XX-XX-XX-XX-XX
but who the heck wants to do that on every reboot or resume from sleep! yikes..
firstly, i noticed that bluetoothd was segfaulting alot:
Code:
ec 22 17:26:09 hostname kernel: [21329.811149] usb 2-6.2: new full speed USB device using ohci_hcd and address 6

[Code]....

View 1 Replies View Related

Ubuntu Networking :: 10.4 Network Doesn't Work Due To DNS

Jun 15, 2011

i've installed it on my parents old computer, mostly for downloading. But wired internet did work all the time but then i had to reset our router because of some problems and now it doesn't work anymore! But the strange thing is, if i put the cable on my own laptop with windows on it, then it works as normal.

So i guess its some kind of DNS problem, but i'm very new with ubuntu and also not so good with computers. Our network is simple just an modem connected to an router: Sitecome WL-341.

View 4 Replies View Related

Fedora Networking :: Networking On F11 Doesn't Work On Various Machines

Aug 25, 2009

Networking on Fedora 11 doesn't work for me on various machines. Fedora 10 does, but only if you don't do an update.Why does Fedora get worse the more you keep it up-to-date?

View 1 Replies View Related

Ubuntu Networking :: Internet Doesn't Work After Upgrade

Jan 4, 2010

I just upgraded from 9.04 to 9.10. When I restarted, I admired the new login menu, then went to Firefox. I noticed that my wireless didn't work (it did in 9.04) Thinking I'd just need to reinstall the drivers, I plugged in the computer to a working Ethernet outlet with a working cord. I noticed that Ubuntu didn't tell me that Auto eth0 was connected. It didn't tell me anything. And then I went to Google and realized that the wired connection didn't work either. Then I came here on an iPod Touch and you know the rest.

Edit: And other devices work too on the network.

View 2 Replies View Related

Ubuntu Networking :: Internet Doesn't Work On MSI U130?

Jan 10, 2010

I really want to convert over to ubuntu and use ubuntu netbook remix on my new netbook but I've had a hell of a time trying to get it to access the internet, I've tried installing drivers but I don't really know how.

My Netbook Details:

MSI U130
1.66 Intel Atom N450
1GB DDR2 Ram
Windows 7 Starter
802.11 bgn 1r1t Mini Card Wireless Adapter

View 3 Replies View Related

Ubuntu Networking :: Gvfs-mount Doesn't Work Through Ssh?

Jan 26, 2010

setup consist of three machines: 2 servers (A and B)(ubuntu) and my local laptop Server A is a company controlled server which holds project data Server B is our office local server, which we use for development purposes. The problem occurs when i ssh from my local laptop to server B. After loggin in, i execute a script to transfer data from A to B. This script mounts server A using gvfs-mount. It fails to mount completely and gives me the following error

Code:

Error mounting location: volume doesn't implement mount

However if i log onto server B, using the servers keyboard and monitor (using a gnome session) i can execute the line. To verify that it's something related to the ssh login, i tried the following: (My local laptop is also running ubuntu) from laptop open a terminal. See the gvfs mount work as expected. open another terminal and ssh localhost tried to execute gvfs-mount from the local ssh session and i get the above mentioned error. After googling a bit, i found that it might related to dbus (which i know _nothing_ about) and i tried

Code:

dbus-launch gvfs-mount and then tried to gvfs-mount server A, but it fails again.

View 9 Replies View Related

Ubuntu Networking :: WLAN Doesn't Work Under VirtualBox?

Feb 21, 2010

On my HP TX2500 laptop, dual-booting Vista and 9.04, Ubuntu installation found the WLAN and it works fine.I installed VirtualBox with Vista as the host and 9.04 as the guest. Wired Ethernet works fine but it didn't seem to find my WLAN. What more do I need to do?

View 1 Replies View Related

Ubuntu Networking :: TP-LINK TL-322G Doesn't Work?

Feb 26, 2010

I try to do wireless man-in-the middle attack with my ASUS laptop and I've alreay got two wlan adaptors, a built-in Atheros NE-785H and a TP-LINK TL-W322G USB wireless adaptor. Either of them is to act as a rogue access point (soft AP). The biult-in adaptor works well but I just can't get the TP-LINK working properly.

I have alreay visited the threads below No Wireless with TP-LINK TL-WN322G found Problems with a TP-LINK TL-WN322G 54g Wireless USB Adapter (ZyDAS zd1211b Chipset ) HardwareSupportComponentsWirelessNetworkCardsTP-Link tp-link WN322G Wlan mit TP-LINK TL-WN322G

I'm running Karmic with 2.6.31-19, according to the Ubuntu help page it should work out of the box, but it just wouldn't work for me. I only got it working with ndiswrapper, which is clearly not what I want to use since it's not supported by aircrack-ng.

Here are results after running modprobe -v zd1211rw

Code:
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
insmod /lib/modules/2.6.31-19-generic/updates/cw/zd1211rw.ko
then lsmod | grep zd

[Code].....

View 6 Replies View Related

Ubuntu Networking :: Internet Doesn't Work, Except Skype?

Mar 10, 2010

I have a desktop pc with xubuntu 9.10 32bit installed. I don't have direct access to this machine, but they told me that internet is not working (firefox, synaptic,etc...), but only skype works! If they reboot on windows, everything works well, so it's not a matter of connection or dns.It's very important because they work with that computer. How can i solve the problem? and what could be the cause of this strange anomaly

View 3 Replies View Related

Ubuntu Networking :: .04 - Wired Network Doesn't Work

May 4, 2010

I installed Ubuntu10.04, It cannot driver Wired network and wireless. Later I installed linuxMint9, wireless is ok, but wired network doesn't work. I am sure the lan cable is ok. It works in Windows.

View 3 Replies View Related

Ubuntu Networking :: Broadcom Wireless Doesn't Work

May 20, 2010

I'm working on Lucid, in HP Pavilion 9730us laptop.

My wireless broadcom card was working just fine until now as i installed it with the Hardware Devices manager, Today i put a new ALFA AWUS036H usb card to work with aircrack. both cards were working together for a while, but as i started playing around with aircrack the broadcom card of the HP has stopped working.

I made a mistake and followed the aircrack tutorial for R8187 / ieee80211 stacks driver, while i'm using RTL 8187 / mac80211 stack drivers, and blacklisted the RTL8187 , rebooted and then both card didn't work. I un-blacklisted it, and the ALFA is working but the broadcom not!

iwconfig shows me only one wireless card on wlan0 the blue light showing activity in the HP card doesn't go on.

Tried to uninstall and reinstall broadcom drivers, still no change.

View 2 Replies View Related

Ubuntu Networking :: Kmail Doesn't Work With Wireless?

Aug 11, 2010

I use kmail in kubuntu 8.04. Whenever I have a wired connection, kmail checks email and sends messages just fine. However, any time I switch to wireless, kmail just says "No new messages," without even checking. I am also unable to send email over wireless.

View 5 Replies View Related

Ubuntu Networking :: Wired Connection Doesn't Work / Get That?

Sep 18, 2010

I recently tried out OpenDNS on my wired connection, however after it was slower than faster, I tried going back to the original settings that the connection had (so basically to Automatic DHCP).

For some reason the connection wouldn't connect again. So I thought I'd try deleting that connection and creating a new one, but this still doesn't work. When I try to connect using NetworkManager it just does the 'loading' icon for 30ish seconds then says disconnected.

My wireless still works fine however.

I'd very grateful as i'm worried i've messed up the ethernet port and I need it for when I got University in a couple of weeks

View 1 Replies View Related

Ubuntu Networking :: Resolv.conf Doesn't Work?

Oct 12, 2010

My network works before but now it has follow issue, when I ping google.com, I got Quote:

ping: unknown host google.com but my network still works partially because I can still connect to a DNS listed in my /etc/resolv.conf to get host google.com's ip adress by Quote:

host -t a google.com ip.of.one.dns and then I ping the returned IP result 66.249.89.104, the ping works fine. the issue is that I can't connect to Internet, what I can remember is that I ever removed /etc/resolv.conf and this file was created again by network-manager, and I already verified the two dns IPs listed in the resolv.conf are both correct and works fine with command host.

View 2 Replies View Related

Ubuntu Networking :: Nfs Mount In Fstab Doesn't Work (does In 10.04)

Nov 27, 2010

I installed 10.10 yesterday and all seemed fine. Now I made an NFS mount in /etc/fstab like I use to in 10.04

Kaapstad:/admin /mnt/Kaapstadadmin nfs defaults 0 0

but get this:

# mount -a
mount: wrong fs type, bad option, bad superblock on Kaapstad:/admin,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might

[Code]....

In /mnt, /etc/hosts everything is set as should be. In other posts I'm reading other problems with nfs as well. Is there a bug?

View 2 Replies View Related

Ubuntu Networking :: Wireless Doesn't Work After Updates?

Dec 12, 2010

I got Ubuntu 10.10 installed. Unfortunately, my wireless doesnt work. I'm connected to my router, but web pages wont load.

I thought to myself, maybe Ubuntu needs to update. So I lugged my computer out to the router itself and okugged my computer in. I went into update manager and let it do its thing. It was PAINFULLY slow. I had a less than 100 b/s. But I let it do its thing. After all 200 Mb's were done, which took a couple hours, I rebooted my system. Now, I cant even connect to my wireless and the internet symbol (the wireless bars thing in the top right) is gone.

1) How can I get my wireless to work?

2) How do I get the wireless button back?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved