Networking :: Connect To A D-link DIR-300 Router Using Command Line?
Apr 3, 2011
I need to connect to my router using only CLI, specifying an username and password, preferably with a single command line, so it won't be interactive, 'cause I need to include the command in a script.
View 5 Replies
ADVERTISEMENT
Oct 27, 2010
I have a telephone connection of 1 mega internet modem huawei mt 880 SmartAX my desktop computer is connected via an ADSL PPPoE.I use Ubuntu 10.04 in Spanish and want to know how to connect a WiFi router TP-LINK TL- wr942nd to provide wireless Internet to other 2 PC, a desktop with a plaquet wireles G CNet CWP-854 and 500 series notebook olivetti olibook. The issue is that when I connect the router I can not even go online and do not know how to operate the network, I can not even connect the desktop to my internet provider
View 1 Replies
View Related
May 31, 2010
I'm using D-Link GLB-802C router to connect to internet, It has one Ethernet port and USB port. I want to connect to internet in ubuntu using USB port. My PC is P4 machine and it isn't a Ethernet interface. My router's driver CD includes usb drivers to windows 98, xp OS only. I want step by step guide to setup the internet connection in ubuntu. I'm from sri lanka and i using SLT ADSL connection.
View 14 Replies
View Related
Aug 13, 2010
I'm trying to connect to a AP by command line but I can't yet. Using the network manager it's possible but I need the command lines to use in my code programming.
Here it's what I tryed:
Code:
sudo iwconfig wlan0 mode managed channel 6 key restricted s:'12345' essid 'cassiano-PC_AP'
and the tail: sudo tail -f /var/log/syslog
Code:
Aug 13 14:05:55 cassiano-linux kernel: [13476.935795] wlan0: direct probe to AP 00:15:af:84:29:d3 (try 1)
Aug 13 14:05:55 cassiano-linux kernel: [13476.935943] wlan0: deauthenticating from 00:15:af:84:29:d3 by local choice (reason=3)
[Code]...
View 2 Replies
View Related
Oct 22, 2010
i cant connect to adsl with pon dsl-provider or any command line. just network manager applet GUI works for me. i follow this guide [URL] and try about 3 hours but without success. i edit /etc/network/interfaces following this thread: [URL] but after any alteration in /etc/network/interfaces and restart network my adsl connections are not work at all and also i lost my GUI applet connections too. then i have to back /etc/network/interfaces to its original content and restart my computer to restore my connections
pon dsl-provider error is:
Quote:
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
View 8 Replies
View Related
Jun 6, 2011
I want to connect to the internet using the command line. I'm 95% I have my wireless card installed correctly, since I'm using it right now.dhclient takes a minute or two, then finishes. It gives no output, success or failure. Then I open up Firefox and I'm not connected to the internet. What can I do to figure out what the problem is?
View 9 Replies
View Related
Jul 27, 2011
So i was wondering if anyone can help me connect to a wireless network via command line instead of utilizing the GUI
so far i have done this, but im not sure what to do after this
Nexus:~ # ifconfig wlan0 down
Nexus:~ # ifconfig wlan0 up
Nexus:~ # iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
[Code]...
View 5 Replies
View Related
Jul 10, 2009
I am fairly familiar with Linux but had never ventured into Wlan settings / options / too much. I have compatible card (aetheros) and when running - iwlist wlan0 scanning - I get plenty networks showing up - meaning the card works. When I installed distro which is last night (before I ran update), I had that little bars menu at the top of the screen that showed available networks once clicked upon. Since I like to modify and make my settings better - I removed that little AT&T like bar, and now rebooted after update to find that I can not see available networks unless I use iwliset wlan0 scanning.... .#$*&)@&#(&%# - need I say more.
Two questions - how do you connect to the wireless network via command line? What is that vertical bars GUI tool called so I can find it and run it again? Is there (for the love of god) alternative to system-config-network GUI managment tool for wlan?
View 2 Replies
View Related
Aug 17, 2009
I'm tryn' to connect to my wireless network using command line:iwconfig wlan0 essid MY_NETWORK as root.
After this typingiwconfig wlan0
result is:
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
[Code]....
I installed ndiswrapper in order to use ipn2200 WinXp drivers.
View 4 Replies
View Related
Dec 8, 2010
i have a problem with my new router and ubuntu 10.10. The problem is that my internet connection show me that my laptop had connect to internet but my browser can't open a website ( this problem is the same with my netbook ) to fix it always must turn it off and after on either it never makes.
View 4 Replies
View Related
Jul 27, 2010
I have a Sony TZ270N running Ubuntu 10.04 splendidly. The Sprint Mobile Broadband works great, but it's a bit cumbersome to activate. Specifically, to get it to work I need to:
echo 0 > /sys/devices/platform/sony-laptop/wwanpower
sleep 5
echo 1 > /sys/devices/platform/sony-laptop/wwanpower
Then I wait another five seconds, right-click on the networking icon, choose "Enable mobile broadband", then left-click on the networking icon, and choose "Connect to Sprint Connection". I do this multiple times a day, and it's just a bit of a pain, especially when in a hurry. Accordingly, I'd like to script it so I can do the whole thing with a single command.
I've already put the above echo statements into a script and it works great; is there any way to script the actual start of the PPP session itself -- with the caveat that I'd like the networking icon to accurately reflect the latest state?
(In other words, I don't want to bypass the networking icon and just launch the PPP session in the background -- I want it to show that I'm connected, and still let me manage the connection via the icon after connected.)
View 3 Replies
View Related
Mar 29, 2011
I'm sitting here at school, and I need to forward a port from my router at home to my Ubuntu box also at home. I stupidly forgot to turn on external administration on the router, but I can still SSH into the server. Is there a way I can access the router through the server via the command line?
View 4 Replies
View Related
Mar 18, 2010
I would like to log into my router to get the status page programmatically. I have a dynamic IP address and need to update my dynamic dsl service. The router will not display its address with traceroute (all I get is * * *. Once I am logged into the router I can retrieve the status page with wget and parse the resulting file. I cannot seem to get logged into it with wget. Does anyone know how this might be done? If I posted the HTML page that I log into (from wget of the login page) could someone tell me what I need to code. The router is a Trendnet TEW-652BRP. I can get it off the internet but if my connection is down it will fail.
View 14 Replies
View Related
Nov 6, 2009
I have a desktop PC running Ubuntu 9.10 and Windows 7, and a Eee PC 701 laptop running EasyPeasy Ubuntu 9.04. I'd like to connect the desktop to the laptop with a wired connection (eth0), then the laptop to my ADSL router using wireless (ath0).
I have a crossover ethernet cable (I bought on ebay). I have set up my laptop with a static IP address on my LAN and it uses OpenDNS.
I have added this to /etc/sysctl.conf on the laptop:
net.ipv4.ip_forward=1
Then I tried this on the laptop:
sudo iptables --table nat --append POSTROUTING --out-interface ath0 -j MASQUERADE
sudo iptables --append FORWARD --in-interface eth0 -j ACCEPT
This is a variation on what I found on other sites describing how to set up a router. I don't understand iptables very well, but I gather that the above two lines should set up forwarding so that traffic from my router to the laptop will be forwarded to the desktop, and vice versa.
But this doesn't work. The connection doesn't even establish between the laptop and the desktop.
View 12 Replies
View Related
Jan 24, 2010
the router is TP-Link TL-WR340G. When I got it I entered the menu and configured everything without problems. Some time ago I had to reinstall ubuntu and after that I couldn't access the router. I tried to reset it, i tried switching the wifi on and off. I connect the router and the pc with the network cable, i type 192.168.1.1 in firefox and it says: can't access site. I plug the internet cable in the modem - its the same and I dont have internet at all.
View 7 Replies
View Related
Mar 31, 2010
Details:
1. Using XP Pro SP3 (32-bit)
2. Laptop = Sony VAIO VGN-FZ140E
3. Recently purchased a TP-Link Router (TL-WR740N) which claims to give 150 Mbps speed
When connected, my Intel Wireless WiFi Link 4965AGN shows a speed of only 65 Mbps . A friend came over with his laptop (having Windows 7) and was able to get 150 Mbps speed. I even compared and the same web sites were opening with considerable difference on our laptops. Do I need to upgrade the driver?
View 2 Replies
View Related
Dec 22, 2009
I have a very simple setup
router DIR 100 4 ports
adsl connected to WAN
Linux connected to port 1
Mac connected to a port 2
I am trying to figure why linux hostname is not detected in my LAN. The strange thing is that my macs hostname is automatically detected and put in DHCP CLIENT LIST! I have scrolled the whole manual 10 times.
My Linux (Slackware 13) gets IP address automatically by DHCP server in router. Has anyone had this problem with routers in general?
Output from router DIR 100:
View 2 Replies
View Related
May 12, 2010
I have laptops with intel 4965/AGN wireless hardware and ubuntu jaunty. My wireless access point, router, gateway is a D-Link DIR-655. The D-Link is directly connected to my cable modem. The connection does not drop, but They suddenly quit talking with each other. After a brief time lapse, they start talking again without intervention on my part. When I say "stop talking" this is behavior where a browser will return "page or server not found" errors or "DNS timeout". Has anyone seen this sort of network behavior and have some idea about corrective actions?
My attempts to get some help from D-Link have not been successful. Since there are not hundreds of folks reporting troubles, they don't [want to?] understand one poor souls problems.I've tried to ask about this several times and several places.
View 4 Replies
View Related
Jan 13, 2010
I use a wired Dlink Adsl Router GLB502T with its inbuilt dialer configured. Problem is it will not connect while computer is running.When I try to ping the local ip of the modem this is what I get "ping: sendmsg: Operation not permitted" and "/etc/init.d/networking restart" has no effect either.I need to restart my computer every time i want to connect to the Internet.I switch on the modem when the grub bootloader appears and the modem connects without any problem.This problem appeared when i installed Ubuntu 9.04.There was no problem with Ubuntu 8.04.
OS:Ubuntu 9.04
Motherboard: Asus M2N68-AM
NVIDIA Geforce 7025/nForce 630a
RTL8211CL Phy Gigabit LAN
[code]....
View 4 Replies
View Related
Jun 10, 2010
I got two issues with my wifi usb adapter:
1) it cannot see any networks around
2) i cannot setup it in master mode to use my PC as a router
As far as i can see, the device is recognized and the correct driver (rt73usb) is loaded. I was able to connect to a laptop somehow (the laptop could see other networks and the adapter's PC-to-PC network). I'd like to make it work as a router, i.e. share my internet connection (eth0) via wlan0. Here is what i have:
Code:
Ubuntu 10.04
Linux 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
TP-Link TL-WN321G wifi usb adapter as seen as
Bus 001 Device 006: ID 148f:2573 Ralink Technology, Corp. RT2501USB Wireless Adapter
$ iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:off/any
[Code]....
View 4 Replies
View Related
May 20, 2011
In addition to 2 "desktop" machines, I recently set up an Ubuntu Server with Apache2, but when I try to access my www.homepage from a machine locally connected to the same router (via both wired & wireless interfaces), I am directed to the Login page of the router, not to the www.homepage. Yet, when I access the www.homepage from elsewhere, my www.homepage is accessible.
I can browse to my www.homepage by entering the local IP address into browsers on both local machines, so I know the machines are talking to each other. Just not letting me get in via normal internet browsing channels.
Server: Ubuntu 11.04
Webserver: Apache2
Router: D-Link DIR-615
IP Address of: 192.168.0.110 (reserved on router, static on server)
[Code]....
View 7 Replies
View Related
Apr 6, 2011
I am trying to setup a dhcp server for my internal network. I have two NICs, a modem, and a wireless router. I have my server connected directly to my modem which is providing me with Internet access on eth1 and is working fine. I have dhcp and dns setup on eth0 which is connected to my router. The router shows that it is connected to the Internet but when the router gives a client computer an IP address, the client is unable to connect to the Internet but can connect to the router. I will post my configuration files below with my current configuration.
[Code]....
View 5 Replies
View Related
Mar 23, 2011
I hosed my installation of F14 by installing from some "experimental" repositories. Now I only get XDM at startup and an xterm on login. This would be fine if I could use yum to do some updates, but I have no network connection. I have been over the man page for nmcli dozens of times and none of the options there seems to start anything. I have also tried starting dhclient or using:
ifconfig eth0 up Nothing. So, is there a reliable way I can just connect to the network? This shouldn't be so hard.
View 8 Replies
View Related
May 14, 2009
For some reason Ubuntu 8.04 doesn't save my college network settings, so I have to connect manually each time. This is what I physically have to do to connect:
1) Click on network manager icon in the notification area
2) Click "connect to other wireless network"
3) Type in "NETWORK_NAME" into network name area field
4) Select WPA enterprise under wireless security
5) Type in "USERNAME" into username field
6) Type in "PASSWORD" into password field
So what I would like to know: is there any command line equivalent for the above six steps? I would like to write a script which will carry out the above six steps for me automatically, using the parameters NETWORK_NAME, USERNAME and PASSWORD.
View 7 Replies
View Related
Aug 1, 2010
My son lost his USB Wireless stick for his Computer. I had thought I heard that if you had a second wireless router, you could use it somehow to detect the wireless router you have already set up in your home (like using a wireless card)? Is this what Ad-Hoc is? Either way, can this be done and if so how? I use a WRT54Gx2 Lynksys router and have a TRENDNET TEW-432BRP wireless router and also a spare D-link DI-514. I use ubuntu 10.04, and also wanted to know if I connected one of the router to his on the LAn port could he connect msaybe through an Ad-Hoc on my local computer here? He uses XP on his. I'm a newbie to linux and networking in general.
View 2 Replies
View Related
Aug 15, 2011
I want to connect to an FTP server from the Linux command line. The server is configured behind a proxy.
If I call:
echo $ftp_proxy
I get a result like this:
abc.def.ghi.jkl:8080
If I call:
ftp -pn $ftp_proxy
I get a unknown host error.
How can I connect to the FTP server using the Linux command line?
View 1 Replies
View Related
Jun 8, 2010
Whenever we insert CD,it creates a shortcut link in desktop.Can we list this link name by using any command? I am using Oracle Enterprise Linux 5.0.
View 10 Replies
View Related
May 22, 2010
I'm trying to connect from my desktop to my router (Networl WGR614v6). It seems to recognise the card, but I can't get a connection. I want to run this machine as a server, which is why I'm using commandline, but I haven't had any luck through the gui either. I've disabled NetworkManager and verified that it's not running. Here's what happens:
Code:
$ lsusb | grep -i wire
Bus 001 Device 003: ID 148f:2573 Ralink Technology, Corp. RT2501USB Wireless Adapter
[code]....
View 1 Replies
View Related
Aug 28, 2010
I just bought this usb wireless adapter. (I also have a mac using wireless here and it works fine.) I installed ndiswrapper and ndisgtk and then used it to open the .inf file on the driver cd that came in the box. It must have worked reasonably well because if I click on network manager, I can see a number of networks, including my own. However, when I enter the security key for my network the icon spins for a while and then it asks for the key again. I've tried repeatedly and it never connects. I am definitely entering the key properly because I re-entered it on my mac and it worked.
I have attached a document with most of the information requested in the sticky.
View 6 Replies
View Related
Apr 18, 2010
I'm trying to connect to a wifi network where it hijacks all requests and redirects you to a page where you have to agree to a terms of use before it lets you connect to the actual outside world. This is a pretty common practice, and usually doesn't pose much of a problem. However, I've got a computer running Ubuntu 9.10 server with no windowing system. How can I use the command line to agree to the terms of use? I don't have internet access on the computer to download packages via apt-get or anything like that. Sure, I can think of any number of workarounds, but I suspect there's an easy way to use wget or curl or something.
Basically, I need a command line solution for sending an HTTP POST request essentially clicking on a button. For future reference, it'd be helpful to know how to send a POST request with, say, a username and password if I ever find myself in that situation in another hotel or airport.
View 2 Replies
View Related