Ubuntu Networking :: Connect To WEP WLAN Without DHCP

Aug 18, 2010

I am trying to connect to a WEP encrypted WLAN without using the DHCP server of the AP. (=giving myself a static IP)

So far i have tried:

Code:

But i cant even ping 192.168.1.1 (Network unreachable error). Is it possible that Ubuntu tries to use eth0 (which was connected to a similar /16 before) to ping 192.168.1.1 or is there somethign wrong with my commands?

Also will an AP allow access to the network although i don't have an IP from its DHCP server?

View 3 Replies


ADVERTISEMENT

Networking :: Get And Use DHCP Offers To Config The Wlan Connection?

May 12, 2011

I'm using the following in a script to connect to my house's wi-fi - it works perfectly for me - simple, and with a static IP:

Code:

modprobe zd1211rw #load the module needed by my wireless LAN adapter
ifconfig wlan0 up
iwconfig wlan0 essid my_network_name_at_home
ifconfig wlan0 10.0.0.8 netmask 255.255.255.0
route add default gw 10.0.0.2 wlan0
iwconfig wlan0 key key_comes_here

However, if I take my machine to the office, we've got DHCP assigned dynamic IPs. How can I modify the above script to NOT do

Code:

ifconfig wlan0 10.0.0.8 netmask 255.255.255.0
route add default gw 10.0.0.2 wlan0

but instead get them from the DHCP service running at work on the W-LAN?

View 2 Replies View Related

Ubuntu Networking :: 11.04 WLAN Does Not Connect Automatically On Reboot?

May 7, 2011

I have a problem on Ubuntu 11.04 64-bit. The wlan does not connect automatically on reboot, although "Connect automatically" is ticked in network manager. I always have to choose "Connect to hidden wlan", choose my config, enter my password, then connect. Once connected everything works fine. But it's kind of annoying to manually connect each time after a restart.

- hidden SSID from router
- mode -> infrastructure
- connect automatically -> ticked
- available to all users -> ticked
- Encryption -> WPA & WPA2 personal

View 7 Replies View Related

Networking :: Unable To Connect To Services On Box Through WLAN?

Jun 20, 2010

I have a RedHat linux server box connected to LinkSys router through ethernet port. I've assigned a static IP to the Linux box, which is out of range with router's DHCP range.

The Linux box has Apache, JBOSS, SVN and several other services installed, but none of these services are accessible through the WLAN. However, SSH and SFTP are accessible from WLAN.

Another interesting observation is that if I open a browser on the linux box (by exporting the DISPLAY to Exceed on my laptop on the WLAN) and point the browser's address bar to localhost:80 or localhost:9080, then I can access these services!!.. So, I suspect that something is wrong with accessing these services from a client on WLAN and I am looking for a solution for the same.

View 3 Replies View Related

Ubuntu Networking :: WLAN Doesn't Find A Network To Connect?

Dec 11, 2010

recently I risked a look to the Linux world and I'm happy so far, but now I've got a Problem, I'm unable to solve by myself. I installed Mint (Julia) on my old Laptop to test Linux. The Laptop has a very old PCMCIA WLAN Card with a Realtek rtl8180 chipset. Everything seems to run perfectly so far with one exception: the WLAN doesn't find any Network to connect although the card and the driver seem to be installed correctly.

Here some code from the terminal:

Code:
lspci
00:00.0 Host bridge: ATI Technologies Inc RS200/RS200M AGP Bridge [IGP 340M] (rev 02)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M]
00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:03.0 Modem: ALi Corporation M5457 AC'97 Modem Controller

[Code]...

View 1 Replies View Related

Ubuntu Networking :: Cannot Connect Wirelessly Using BCM431 WLAN Card

May 17, 2011

I upgraded Ubuntu to 11.04 I can NO longer connect wirelessly using my BCM4312 WLAN Card. It connected with no problems before dist upgrade using Ubuntu 10.04. Im really not sure why I cannot connect. I cannot even see my router in edit wireless connections settings. I can however see my neighbours routers who are using WPA2 encryption. But I cannot see my router.

I have uninstalled and reinstalled The Broadcom STA proprietry wireless driver several times using Additional drivers. This did not fix my issue.

I am connected by ethernet at the moment so I do have internet connection.

View 4 Replies View Related

Fedora Networking :: Connect To An WLAN AP With No Security Keys - F13

Jul 5, 2010

Since I have installed Fedora 13 it seems that I can't connect to WLAN APs which aren't secured by WPA. I'm surprised about the inserts to the messages logfile:

[Code]...

Most surprising insert for me: Jul 5 20:43:21 nbtobiaslnx NetworkManager[1328]: <info> Config: added 'key_mgmt' value 'WPA-PSK' Is this the reason for my problem? I use KDE and Network Manager for managing my networkconnections.

View 1 Replies View Related

Networking :: Fail To Connect To WLAN With Realtek 8172 Device

Nov 9, 2010

I have a ThinkPad x100e with a wireless card.Code:03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8172 (rev 10)my problem is that I can't connect to my wireless network with Gentoo. I've been running Slackware64-13.1 on this computer and now have Windows 7, Ubuntu and Gentoo installed. Slackware, Ubuntu as well as Windows 7 connect to the wlan without problems. I'm using the driver rtl8192se, the module is loaded r8192se_pci and is the same with Slackware and Ubuntu.

I've read many posts and found that other people experience problems with Realtek wlandevices as well. But I have no Idea how to get connected with Gentoo at my wlan. It looks like that the netbook is connected for a very short time, but when dhcpcd broadcasts for a lease the connection is already closed.

View 10 Replies View Related

Ubuntu Networking :: WLAN Couldn't Connect To The Internet Anymore After Installing Pulseaudio And Pavumeter

Jul 30, 2011

yesterday I installed pulseaudio and pavumeter. This morning I couldn't connect to the internet anymore. I checked the settings but couldn't see any changes. I read the post at [URL]?t=370108 and I'm going to post the outcome of the instructions here:

1.) My Notebook is a Sony Vaio

2.) Wireless brand, model and chipset:

Code: ubuntu@ubuntu:~$ lspci -nn | grep Atheros

Code: 02:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)

3.) Check interface:

[Code]....

View 9 Replies View Related

Ubuntu Networking :: Using DHCP To Connect?

Feb 19, 2011

I just installed ubuntu for the first time, and I am not very familiar with everything yet but i am trying to connect to my university's wireless network and can't seem to figure it out. These are the directions they provide for linux users:

Use linuxconf Start linuxconf, go to Basic Host Information under Networking and Client Tasks.
Click Adapter 1, and select DHCP.
Click OK and Apply Changes.
Finally, reboot

I tried running linuxconf from the terminal but no such command exists, is there a similar one for ubuntu?

View 1 Replies View Related

Ubuntu Networking :: Can't Connect To Network With DHCP

Mar 4, 2010

I using ubuntu 9.04. It was connected to the network with the manual IP Settings. Now the server settings have changed and we are supposed to move to Auto Assign IP (DHCP). All the windows machines are working fine, those are connected to network and using internet. But the ubuntu machine is not getting connected. Is there any any additional setting required for DHCP?

View 2 Replies View Related

Networking :: Connect Using An Ethernet Card Using Dhcp ?

Feb 15, 2010

My ISP finished some 'upgrades' on its infrastructure. The result is that I am having great difficulty in connecting to the internet.

I have 3 operating systems on my box - XP, Fedora 8 and Feota 12.

I connect using an ethernet card, using dhcp. In fedora 12, the ethernet card is controlled be networkmanager. After the ISP completed their upgrades, I was not able to connect. I tried to connect manually using

Code:

There was an error message -

Code:

I read the advice here: [url], and removed all but the important lines.

But even after that neither ifup eth0 or dhclient eth0 works.

In fedora 8, the ethernet card is activated by ifup eth0 in /etc/rc.local. I was able to connect on a couple of occasions, but that too stopped working. I tried both ifup eth0, dhclient eth0, and tried to use the gui( which fires the dhclient command), but none worked.

When I use windows, it takes about 2 minutes to get an ip (earlier it was immediate). Sometimes that doesnt work and I have to click on "repair" whereupon it starts working.

View 1 Replies View Related

Networking :: Fallback DHCP Server - Connect To The Internet

Apr 8, 2010

I have a home network, with an OpenWrt router operating successfully as DHCP server (using DNSMasq). I'm planning to install LinuxMCE on my main fileserver and in order for this to properly detect devices around the home it requires that it is the DHCP server. That would be fine except that I sometimes power down the fileserver (eg. when my in-laws sleep in the spare room where the server lives) and that would leave me with no DHCP which creates problems (when my in-laws want to get their laptop connected to the internet).

One answer is to get new in-laws which would be OK except that I'm still pretty keen on my wife. Alternatively is there any way to set up a fallback DHCP server ie. the router would check if there's a functioning DHCP server on the network (ie. the fileserver) and if it gets no response it will serve DHCP addresses itself.

View 2 Replies View Related

Ubuntu Networking :: Wired Connection - Can't Connect - Dhcp Enabled Automatically

Jun 20, 2010

Since that time I moved to Archlinux and I love it. I do however run lubuntu live from a USB for my work PC. I am having a problem with it. I think it's okay to post here because the core of the system is still Ubuntu. I don't think LXDE is the problem. I start up the live environment and it says 'wired connection connected' but I can not load any pages or do anything.

I thought it may be a problem with configuration so I copied down (from Windows) the IP, Subnet, Gateway and DNS. I put them in manually and it doesn't say connected any more and still no connection at all. I am unsure what to do from here. I am not really familiar with Ubuntu enough to try much. I tried to 'dhcpcd eth0' but dhcpcd isn't installed. I guess the default Ubuntu network manager has dhcp enabled automatically.

View 9 Replies View Related

Networking :: Change MAC Address & Connect To A Dhcp Server Successfully

Dec 26, 2009

For changing the the mac address of my lan card( eth0) in linux fedora 9(solphur) i used this command

And i could change my mac address successfully but now i couldn't connect to my network via a dhcp server ( in configuration section of my router im going to check my new mac address (because i want to spoof) ,how i can do that?

View 7 Replies View Related

Networking :: Debian Wireless - DHCP At Startup - Can't Connect Once In Gnome

Apr 14, 2010

I am trying to get my intel pro wireless 3945abg working on this Lenny installation. My progress is as follows:

No wireless & LED (on the physical switch) won't turn on
installed NdisWrapper and netw5x32 driver
installed package "firmware-iwlwifi_0.14+lenny2_all.deb"

[code]....

Still no wireless, but when DHCPDISCOVER runs at startup, it is apparently assigned an IP address using wlan0. This only happens when the cable (eth0) isn't plugged in (eth0 is set to static) which leads me to believe that the wireless really does work for DHCPDISCOVER.

What I want to know so that I can mess about with it more is how do I switch between drivers? What I have been doing here is

Code:

modprobe -r [old driver]

and then

Code:

modprobe [new driver]

View 2 Replies View Related

Ubuntu Networking :: Wlan Does Not Connect (ubuntu/network-manager Bug?)

Jan 28, 2010

so far i testet 4 wlan cards (prism, ?zytel?, realtek and another realtek) they all work without a problem with kubuntu. but with ubuntu they dont want to build up a connection to my router. it looks like the passphrase is wrong..he asks me after a short time to reenter the phrase. but the phrase isnt wrong(copy pasted) the phrase has some special characters but only '=' and a few '!'. so i doubt that that could be the problem im pretty sure there are more people out there who have the same problem. I hope someone knows a solution :/

edit: i did some searching and found this... seems to be a major problem[URL]...

View 4 Replies View Related

Networking :: Getting An Ip Address From The DHCP Router, But Cannout Ping Any Other Ips Or Connect To The Internet?

Jan 31, 2010

I've only been using linux for a few days so I don't know all the tricks. I'm pretty savy configuring windows networks however.My adapter is (according to windows) a: CNet PRO200WL PCI fast ethernet adapterLinux says it is a: 21x4x DEC-tulip compatible 10/100 EthernetI do seem to be getting an ip address from the DHCP router, but I cannout ping any other ips or connect to the internet.I've tried a bunch of different options, switching things back and forth, but it still doesn't work, and honestly i don't even know what some of the options mean.

ALSO, if this helps:
paladin:~ # ifconfig eth0
Eth0 Link encap:Ethernet HWaddr 00:08:A1:03:3C:99

[code]....

View 14 Replies View Related

Networking :: Windows 7 Users Can't Connect To Samba Server After Dhcp Config

Jun 27, 2011

I have an ubuntu 11,04 samba domain server, I want to also configure this machine to work as a dhcp server, however this have give me some issues with te windows 7 workstations, my guest is that it have something to do with the iptables because those station do join the samba domain went both server and workstation are conected to a router.

This is the script I use at boot

Code:

#FOR SHARED INTERNET
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables --table nat -A POSTROUTING -o eth2 -j MASQUERADE

[code]....

I haven't test it with windows xp station but I have use the same code in the past with no problems, and since this is my first time joining windows 7 station i belive there must be some other port that need fowarding.

View 3 Replies View Related

Ubuntu Networking :: DHCP Server No Longer Responses To DHCP Requests - Can't Ping Gateway

Oct 22, 2010

Back in April I set up a Ubuntu DHCP server and a multiple VLAN network [URL] to migrate our various servers, workstations, etc off the 192.168.1.1 /24 network that everything was on because we where running out of address space. I built out the new network and everything worked great except our AD server would never get an IP address from the DHCP server (static reservation) and even if I set the IP statically on the AD server it couldn't ping the gateway and noone could log in. After several attempts to resolve this, including bringing in outside help, we where never able to figure out what the problem was.

Now 6 months later I have time to revisit the issue without effecting the live network. I used Acronis and imaged the AD server last Friday, cloned it on to another box with the same hardware, and put it up on the new network that's been sitting unused for the last 6 months. Today when I statically set the IP on the AD server (which is what I want) it connects and I can ping it's gateway 192.168.1.1 and all the way across vlans to a test sales agent workstation at 192.168.8.xxx on vlan 800 but only if I statically assign the agents station an IP address. When I try to get an IP address via DHCP it fails as destination unreachable. Nothing has changed in the last 6 months on the DHCP server but now it for some reason can't ping its default gateway 192.168.1.1. All of the config files are the same as they where left from the post linked above aside from the vlan id's used where changed from 1's to 100's (i.e. vlan 3 is now vlan 300) /etc/network/interfaces

Code:

auto lo
iface lo inet loopback
auto vlan100
iface vlan100 inet static

[code]....

why it can't reach the gateway, when I do a tcpdump I can see the DHCP requests come in on eth0 but the server never responds and I'm pretty sure its because it isn't "seeing" them since it thinks there isn't a network connection but I don't know how to trouble shoot to find out where the problem lies.

View 6 Replies View Related

Ubuntu Networking :: DHCP Server No Longer Responds To DHCP Requests - Can't Ping Gateway

Jul 1, 2010

Back in April I set up a Ubuntu DHCP server and a multiple VLAN network [URL] to migrate our various servers, workstations, etc off the 192.168.1.1 /24 network that everything was on because we where running out of address space. I built out the new network and everything worked great except our AD server would never get an IP address from the DHCP server (static reservation) and even if I set the IP statically on the AD server it couldn't ping the gateway and noone could log in. After several attempts to resolve this, including bringing in outside help, we where never able to figure out what the problem was.

Now 6 months later I have time to revisit the issue without effecting the live network. I used Acronis and imaged the AD server last Friday, cloned it on to another box with the same hardware, and put it up on the new network that's been sitting unused for the last 6 months. Today when I statically set the IP on the AD server (which is what I want) it connects and I can ping it's gateway 192.168.1.1 and all the way across vlans to a test sales agent workstation at 192.168.8.xxx on vlan 800 but only if I statically assign the agents station an IP address.

When I try to get an IP address via DHCP it fails as destination unreachable. Nothing has changed in the last 6 months on the DHCP server but now it for some reason can't ping its default gateway 192.168.1.1. All of the config files are the same as they where left from the post linked above aside from the vlan id's used where changed from 1's to 100's (i.e. vlan 3 is now vlan 300) /etc/network/interfaces

Code:

auto lo
iface lo inet loopback
auto vlan100

[code]....

why it can't reach the gateway, when I do a tcpdump I can see the DHCP requests come in on eth0 but the server never responds and I'm pretty sure its because it isn't "seeing" them since it thinks there isn't a network connection but I don't know how to trouble shoot to find out where the problem lies.

View 2 Replies View Related

Ubuntu Networking :: If DHCP Not Available - Fallback And Start DHCP Server?

Mar 8, 2010

Currently I have my eth0 interface getting a DHCP address but at times the DHCP server will not be reachable. Sooo what I would like my server to do is if it cannot find a DHCP server assign a static address to eth0. Then start the DHCP service so it can then dish out some addresses.How can I do this? Surely it is possible

View 2 Replies View Related

Ubuntu Installation :: 10.10 Won't Connect To WLAN?

Oct 25, 2010

I've decided to try out Ubuntu again on my Samsung netbook. I tried 9.10 before and a lot of things didn't work so I gave up, but that was quite a long time ago and I wanted to see if the new one will work.

I booted 10.10 off the USB stick, don't want to zap my Windows 7 installation if Ubuntu doesn't work. Everything seems to run fine, the webcam works, wireless seems to work, it shows the networks in the range and allows me to pick the one I want to connect to.

Sounds good so far, but when I try to connect to my WLAN and put in my password it thinks about it for a while and just pops the password again. It can't seem to connect to the network even though it sees it and the password is correct. I triple checked the password, it's definitely correct.

I can only assume there's something wrong with ubuntu and the driver. I have a Samsung N140 netbook which uses Realtek 8192E chipset.

View 1 Replies View Related

Networking :: Configure A (openSUSE) Client To Dhcp To EBox DHCP Server - Lease An IP Address

Mar 25, 2010

I am puzzled with trying to configure a linux (openSUSE) client to dhcp to eBox DHCP server. I am using dhclient to lease an IP address with dhclient eth0 -s 10.45.48.108 and get a response

openSUSE11232CL1 dhclient: DHCPDISCOVER on eth0 to 10.45.48.108 port 67 interval 4
openSUSE11232CL1 dhclient: DHCPOFFER from 10.45.48.108
openSUSE11232CL1 dhclient: DHCPREQUEST on eth0 to 10.45.48.108 port 67
openSUSE11232CL1 dhclient: send_packet: Network is unreachable
openSUSE11232CL1 dhclient: send_packet: please consult README file regarding broadcast address.

The server reports eBox141 dhcpd: DHCPDISCOVER from 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0
eBox141 dhcpd: DHCPOFFER on 10.45.200.2 to 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0

I interpret this as the server receives the request and the client accepting it but the lease does not last long and the connection breaks. what this could be and why the connection breaks? Or my undestanding is totally wrong on how it works and should work? And BTW, where is that README file that's referenced in the message I receive on the client?

View 2 Replies View Related

SUSE :: Can't Connect On Wlan

Apr 5, 2010

Why I can't connect on Wlan I can Scan and detect my SSID but I can't connect

View 3 Replies View Related

Fedora :: How To Connect To Laptops Using Wlan

Nov 19, 2010

connect to laptops using wlan

1.lenovo with fedora14

2.hp with windows xp

View 1 Replies View Related

OpenSUSE Wireless :: How To Get The WLAN To Connect To The Internet

Jun 3, 2011

Linux is what i'd like to learn, so Howdy to all and i hope to speak to you all regularly
in short, I started with Ubuntu Linux about 6 months ago, Didn't like it, i researched various distro's and came across, PC Linux OS, it was really cool, But i couldn't get it to connect Wirelessly, so i tried something else... the bottom line is i finally settled on SUSE Linux Enterprise Desktop 11, i seem to like it a lot.Ok.. now that introductions are out of the way

Background info: I've installed SUSE Linux Enterprise Desktop 11 on my Sony Vaio Laptop (VGN-NW15G) with no major issues, after a bit of mucking around, i got the LAN to Connect to the internet, after some more mucking around, i figured out how to get the WLAN to connect to the internet.MY Goal: To be able to Wirelessly Network my Laptop with My PC.so that i can access the files on the PC, From my laptop, and Vice Versa, but the important thing is to first be able to access the PC files from the Laptop.

NOTE: My PC has 4 Hard Drives (1 for the O/s, 3 Backups) they are all configured and Shared correctly for Networking and Wireless networking, and all the permissions are set correctly.Hardware and Software Environments:My Laptop : Sony Vaio VGN-NW15GOperating System : SUSE Linux Enterprise Desktop 11Wireless Capable, and has no issues Wireless Networking when running of a Hard Drive Loaded with Win 7 Ultimate 32bit, Therefore all Hardware is Compatible

My PC (Custom Built)
Operating System : Windows 7 Ultimate 64bit SP1
Motherboard: Gigabyte GA-X58-UD3R Rev1.0

[code]...

View 4 Replies View Related

Ubuntu Servers :: Connect To Wired Home Server Via Wlan Laptop?

Oct 22, 2010

Just set up my home server (xubuntu 10.04), its wired to my router. I can connect to the server on my laptop (10.10 ubuntu) via Ethernet, but how do i go about connecting wirelessly?

View 2 Replies View Related

Debian Configuration :: Cannot Connect To Certain WLAN With Network-manager

Jul 23, 2015

Since a recent update on Stretch, I have been unable to use the network-manager to connect to my home wireless network on my laptop. It was working fine before. I did not change any settings on the WLAN router. I can still connect to other wireless networks at work and university, just not this particular one at home. All other non-Debian devices in my household are still able to connect just fine.While figuring this out, I have tried connecting manualy with ifup but I don't really know how that works. Right now there is only the loopback entry in /etc/network/interfaces.

Below is the output of syslog, when gnomes network-manager is trying to connect, but fails.
Code: Select allJul 19 20:01:57 debian NetworkManager[6705]: <info>  (wlan0): Activation: starting connection 'Affenbande'
Jul 19 20:01:57 debian NetworkManager[6705]: <info>  (wlan0): Activation: Stage 1 of 5 (Device Prepare) scheduled...
Jul 19 20:01:57 debian NetworkManager[6705]: <info>  (wlan0): Activation: Stage 1 of 5 (Device Prepare) started...

[code]...

View 14 Replies View Related

Debian Hardware :: WLAN Fails To Connect And / Or Is Very Slow

Mar 26, 2015

I've tried out many Debian distros and noticed the ones that I try based on Ubuntu, my USB WiFi adapter works fine and I don't really have any issues. When I try one that is based on current Jessie, I have sporadic WiFi issues and just overall instability with regards to connectivity and audio playback. I have tried two distros based on Jessie and had very similar results on both. Is there anything in particular I can try? I've done everything short of installing Debian stable and just pointing to Jessie. I've done that in a VM so I know I can handle it, but wanted to se if there was anything I should be trying first. I just didn't think a distro based directly on Jessie and Jessie backports would be any different from installing base Jessie as far as compatibility is concerned.

Code: Select allCard-2: Realtek RTL8191SU 802.11n WLAN Adapter
           driver: r8712u usb-ID: 008-004
           IF: wlan0 state: up

View 11 Replies View Related







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