Programming :: Script To Flash All Access Points Does Not Work

Jan 8, 2010

I'm going to write a script that flashes all AccessPoints in our network, with an expect script. Unfortunately the following code doesn't work.
Code:
spawn cat <file> | ssh root@$ip mtd -r -e linux write - linux
cat: invalid option -- o
Try `cat --help' for more information.
So it doesn't understand the pipe thing anymore. Is there a way to get this command working?

View 3 Replies


ADVERTISEMENT

Programming :: How Break Points Work In GDB

Mar 24, 2011

I want to know that how the break points and watch points work in the GDB. I know the GDB works on symbol table. But would like to know more details of it. How watch points differ from break points.

View 3 Replies View Related

General :: See Available Wireless Access Points In Terminal?

Apr 6, 2011

How can I go about seeing the different AP around me using the terminal?
OpenSuse linux

View 1 Replies View Related

Ubuntu Networking :: Not Detecting Access Points After 10.04 Crash?

May 19, 2010

I installed the new ubuntu 10.04 distro using packagemanager, everything was fine intill i booted up today and there was no access points at all, i tried everything i could think of ( not a lot ),, so i decided to freshly install ubuntu 9.10 and start over, but there is still no scan results, from iwlist or any connections in networkmanager, i checked and the driver was installed and it was showing my card under iwconfig = eth1,

DELL 1545 INSPIRON
and it's a BCM4312 WIRELESS CARD
UBUNTU 9.10,

View 2 Replies View Related

Ubuntu Networking :: 10.10 Will Not Connect To Wireless N Access Points

Oct 7, 2010

I have wireless G and N access points in my house. The N network is set to allow only N connections. I have a Lenovo laptop with a Intel Wireless N chip in it, and after one of the 10.10 updates it stopped connecting to my N access point. The G access point works just fine.

The logs for the Wireless N access point alway show "Bas Password." I am having the same problem with either NetworkManager or wicd.

View 2 Replies View Related

Ubuntu Networking :: Compaq 110 Cannot 'see' Any Wireless Access Points

Dec 11, 2010

Installed 10.10 maverick on my compaq mini 110, activated the restricted STA driver... But under the networking drop down it shows wireless as enabled but I cannot actually see any networks, there should be about a half a dozen to see. Works fine under windows. Before the restricted drivers are activated ifconfig shows eth0 and after eth0 and eth1 but when I do iwscan eth0 or eth1 it tells me this action is not supported! I have tried reinstalling from cli but no difference?

View 3 Replies View Related

Ubuntu Networking :: Unable To Use Wireless With Certain Access Points

May 11, 2011

I am having trouble connecting to 1 particular wireless hotspot. It used to work in Ubuntu 10.10, but after upgrading to Ubuntu 11.04 it sees the Access Point, tries to connect but never succeeds. I can however still connect to my home router. Both use WPA2, both have a good signal. I have an ASUS UL30a laptop with a (output from lspci): Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01) NIC I was thinking of installing the linux-modules-backport-net package?

View 1 Replies View Related

Ubuntu :: Two Wireless Access Points - Pick Right Network?

Mar 1, 2010

I have two wireless access points in my home network. A Linksys upstairs and a Watchguard Firebox downstairs. The Firebox acts as the gateway for my network to the internet (well, the ISP's router anyway). I invariably use my Hardy Heron installed HP laptop downstairs, less than 10ft from the Firebox. The signal bar for the Firebox shows three bars, the linksys just one. So, why the heck does my Ubuntu insist on connecting to the Linksys everytime?! I can manually switch it afterward but still, it's annoying.

View 7 Replies View Related

General :: CLI Command Or Program That Will List Available Wireless Access Points?

Apr 3, 2010

Is there a CLI command or program that will list available wireless access points? I'm running Ubuntu 9.04 on a laptop and sometimes I boot straight into the CLI instead of a GUI. I know iwconfig can configure a connection but will not list available AP's.

View 5 Replies View Related

Ubuntu Networking :: View Wireless Access Points Without Being Connected

Mar 21, 2010

Is there away to view wireless access points without being connected. I am having trouble getting connected to my wireless DSL modem. I have no problems connecting with Windows Vista. Just can not get Ubuntu 9.10 to connect. iwconfig says no associated with access point. I can connect with ethernet cable.

View 3 Replies View Related

Networking :: Data Acquisition System For Vehicle - Access Points

Aug 21, 2010

A friend of mine is building a data acquisition system for a vehicle that will wander through city streets and roads and perhaps even off-road places. At the end of the day, back at the garage, the data must be downloaded and, if needed, upload an update of the data acquisition program. The network is wpa_supplicant, and it was chosen an USB device, because the original computer did not had any wireless interface and do not have any other possibility. The problem is that, when the vehicle comes back, very often there is no access to the on-board computer, or the connection lasts just a few minutes.

The computer must be reinitialized so the connection is back and the scripts run completely. Sometimes the connection is made, but the guys are so used to restart the computer that they do it anyhow, and then the connection does not come up, they have to restart it again.I have being thinking, as the vehicle drives all around, perhaps finding some access points along the day, if this connection trials - and failures - are messing up something. Or, the connection instability as the vehicle approaches the garage, could be driving his scripts mad?

View 2 Replies View Related

Ubuntu Networking :: Laptop's Wireless Card Can See Access Points But Can't Connect

Jan 15, 2011

I'm not exactly sure if this should be here and not in the Hardware & Laptops section, but seeing as my only problem is with WiFi, I'm guessing this is the right place. Under Ubuntu, my laptop (an Asus K42Ja, more details below) can see wireless networks normally. However, when I attempt to connect, it fails to establish a connection. Under Windows on the same laptop (dual boot), no problems are experienced.

According to this, there's a firmware bug in my wireless chip which causes connections to get dropped. I'm not getting connections at all, but I still tried the workarounds on that page with no luck. The router is a TP-Link TL-WR340G. My previous laptop, a really old one from 2003 running Ubuntu 9.10 was able to connect to that router without problems. The wireless card was Intel on that as well (but, of course, much older). The router is set up to use WPA for security. I didn't use WPA2 as I read something a while ago about problems with WPA2 and some Linux distros. Please correct me if I'm wrong here.

If anyone's curious, I'm posting this on Ubuntu, via an ethernet cable to the router mentioned earlier. Some tasty technical bits: dmesg (the latter half of the "timed out" messages is me retrying after double-checking the WPA key)

[Code]....

View 4 Replies View Related

Ubuntu Networking :: Phy0 Has 100% Cpu Usage - Wireless Stops Detecting Access Points?

Aug 31, 2010

I used to use Ubuntu 10.04. Never had this problem. I went back to Windows 7 and then came back to Ubuntu, and 10.04.1 was released. After some usage of wireless internet, it disconnects from the access point, and phy0 has 100% usage. [URL].. I'm not the only one with the problem. I downgraded to 9.10, and haven't had that problem since the downgrade.

View 1 Replies View Related

Ubuntu Networking :: Staying Connected To Wireless Network With Multiple Access Points

Oct 15, 2010

I can connect to my school's wireless network using the standard network manager, but often (not always) it repeatedly disconnects and reconnects every few minutes. Occasionally it also prompts me for the security information again (even after it previously connected successfully).

By running iwconfig when it's on the fritz, I can see that it's often switching access points for the network - which is what I think is causing the problem. It disconnects and reconnects even when the signal strength for the current AP is fine, and it will often switch to an AP with a weaker signal strength.

$sudo lshw -C network
Code:
description: Wireless interface
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:05:00.0
logical name: wlan0
[Code]...

View 4 Replies View Related

Programming :: Optimizing The Spacing Of A Mesh Containing A Given Set Of Points?

Jan 15, 2011

I tried to summarize the this as best as possible in the title. I am writing an initial value problem solver in the most general way possible. I start with an arbitrary number of initial values at arbitrary locations (inside a boundary.) The first part of my program creates a mesh/grid (I am not sure which is the correct nuance), with N points total, that contains all the initial values. My goal is to optimize the mesh such that the spacing is as uniform as possible. My solver seems to work half decently (it needs some more obscure debugging that is not relevant here.)

I am starting with one dimension. I intend to generalize the algorithm to an arbitrary number of dimensions once I get it working consistently. I am writing my code in fortran, but feel free to reply with pseudocode or the language of your choice.Allow me to elaborate with an example:Say I am working on a closed interval [1,10]

xmin=1
xmax=10

Say I have 3 initial points: xmin, 5 and xmax

num_ivc=3
known(num_ivc)=[xmin,5,xmax] //my arrays start at 1. Assume "known" starts sorted

I store my mesh/grid points in an array called coord. Say I want 10 points total in my mesh/grid.

N=10
coord(10)

Remember, all this is arbitrary--except the variable names of course. The algorithm should set coord to {1,2,3,4,5,6,7,8,9,10} Now for a less trivial example:

num_ivc=3
known(num_ivc)=[xmin,5.5,xmax
or just
num_ivc=1
known(num_ivc)=[5.5]

Now, would you have 5 evenly spaced points on the interval [1, 5.5] and 5 evenly spaced points on the interval (5.5, 10]? But there is more space between 1 and 5.5 than between 5.5 and 10. So would you have 6 points on [1, 5.5] followed by 4 on (5.5 to 10]. The key is to minimize the difference in spacing.I have been working on this for 2 days straight and I can assure you it is a lot trickier than it sounds. I have written code that

only works if N is large
only works if N is small
only works if it the known points are close together

[code]....

So as you can see, I have coded the gamut of almost-solutions. I cannot figure out a way to get it to perform equally well in all possible scenarios (that is, create the optimum spacing.)

View 3 Replies View Related

Programming :: Variable Which Points To The Last Term Of A Text Line?

Jan 5, 2011

I want to get the last term of an unknown-sized text line, by usig the awk command. Is there any variable which points to the last term of a text line ? (obviously, y can obtain that term if i knew how many terms does the line have... i.e. awk '{print $12}' ; if we are talking about a 12-terms text line) I wonder if there is an option like $?, to get the last term.

View 2 Replies View Related

Programming :: Shell Script On Placing Files Across Mount Points ?

Feb 19, 2010

I have a database with x number of files (192 at the moment, but will vary from time to time). I am going to copy these files to another location on the same server thorugh shell script. Problem with total size of 192 files is approx 900 GB (again this will vary from time to time).

My shell script should calculate the free space available at present in the server on each of the mount point (can be filled till it reaches 95%). Always 5% free space should be available free for future growth.

After calculating, it should prepare another flat file with following details:

View 14 Replies View Related

Programming :: Combine 40 Different Mount Points Into One Bytes Free/used Number?

Feb 18, 2011

We have a program that catalogs to 40 different mount points. The program is fine as long as thier is free space on at least one of the 40 mount points. My boss wants me to come up with a script that will email us daily to know how much overall free space is left. I know I can do a df but I don't know how to combine the 40 mount points into a single disk used/disk free report.

The 40 mount points are /dev/mapper/areaxx, xx being 01 to 40.

View 4 Replies View Related

Programming :: Opencv Related - Find Out Corresponding Points Of Same Scene On Two Cameras?

May 2, 2011

I've a question regarding two camera images. Suppose I've detected 2d window coordinate of 8 markers of an object in a scene in one camera and detected window coordinates of 10 markers of the same object on another camera.

I've detected the marker. It was easy. Now how do i know which window coordinates on two cameras are the coordinates of same marker? I mean there are markers captured on both cameras and some of them are representing the same marker in both cameras. I just like to know which ones are same on both cameras. Is it possible to find that out using opencv?

View 2 Replies View Related

Programming :: Place A Legend Describing Both Data (red Points) And Lowess Line?

Apr 4, 2011

I have one more question about R.I have made a scatter graph, now I need to place a legend describing both data (red points) and lowess line (blue line with yellow triangles).How do I do that?Here is the graph-I have started it this way-> legend("topleft", pch=1, legend="h,srtm", fill=c("red","yellow"))Not sure about that.How do I describe the fill color, line style, etc.?

View 1 Replies View Related

Ubuntu Installation :: Flash Doesn't Work In Firefox After Most Recent Flash Plugin Update (10.10)

May 19, 2011

Flash is no longer working in Mozilla Firefox after the most recent flash plugin update. I couldn't find any information on it.

View 9 Replies View Related

Ubuntu Multimedia :: Flash Controls Don't Work - How To Make Them Work

Apr 8, 2011

I can't get flash controls to work. If the video auto-plays, it starts just fine, if not, I'm out of luck. I've tried reinstalling flash through the software center. Even if it autoplays, I can't control volume or pause or anything. I'm at the mercy of whatever is already there.

Ubuntu Karmic 9.10 - all updated as of 1/2/2009
Firefox 3.5.6
On a Lenovo Thinkpad R400

View 3 Replies View Related

General :: Flash And Quicktime Movies Don't Work; Mgp And Wmv Movies Work Fine?

Jan 9, 2011

As far as I can tell, I have all the applicable applications and plugins (for this, Debian 5.0.6 installation). I type in Code:about:plugins in either iceweasel or epiphany browser and get a list that includes:

Code:
Installed plugins
Find more information about browser plugins at mozilla.org.

[code]...

View 6 Replies View Related

Hardware :: USB Flash Drive Not Recognized / Access It?

Aug 17, 2010

I'm running Ubuntu 10.04, and am having trouble getting it to recognize my flash drive in the USB port. It showed up once in the Computer - File Browser and I was able to mount it and access the files on it, but since then it doesn't show up. It works fine on my Ubuntu 9.10 distro. I get the same results on both distos when I run #lsusb# The results are:

Code: Bus 001 Device 002: ID 05dc:a701 Lexar Media, Inc. JumpDrive FireFly
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

I can access the flash drive?

View 3 Replies View Related

Ubuntu Installation :: Unable To Access New Flash Version?

Mar 3, 2010

I'm using version 8.04 and have been prompted to upgrade to the latest version of flash, which I did, but although the new version is installed it's not being used by Firefox. I'm still getting the message to upgrade. The version of flash I have is 9.0 r262. Is this a bug? shouldn't Firefox automatically be using the latest version of flash?

View 1 Replies View Related

Ubuntu :: Camera Flash Card Write Access?

Nov 2, 2010

I have this Lumix G2 camera from Panasonic. Problem is that I cannot put any files on cameras memory card from Ubuntu via usb. I need it to put firmware updates for the camera.

View 1 Replies View Related

Ubuntu :: How To Access Completely Flash Based Websites

Dec 14, 2010

I have been using lynx for sometime specially when on a slow connection. I was wondering if there's a way of accessing flash-based websites (completely flash-based) using lynx?

View 9 Replies View Related

Ubuntu Security :: USB Flash Drive - How To Set Access Permissions

Jan 23, 2011

What should I do if I want to allow access to USB flash drive selectively - Say for e.g. All permissions for "root", "Read/Write" for user "A", Only "Read" for user "B" and user "C" shouldn't be able to access or mount (no permissions) the USB flash drive at all.Also I want to do it by modifying entries in some files or by some commands (so that it can be done programatically if needed)

View 5 Replies View Related

Ubuntu :: Minimizing Disk Access On Slow USB Flash ?

Jul 16, 2011

I'm running Ubuntu 10.04 as a full install from a USB flash drive. In other words, I've installed to the flash stick just as though it were a normal hard drive. This is not a Live USB/Persistent install.

The drive is an off-the shelf 8GB Gigaware stick, and its read/write performance is pretty slow. Any time I do anything that requires disk access, it's very sluggish and tends to hang.

I'm looking for advice on things I could do to minimize the amount of disk-access made in the course of using the system, so that it will feel snappier and more responsive.

Some things I've done already:Installed 'preload', which is a daemon that monitors what programs you use frequently, and pre-loads them into RAM to reduce startup time. Mounted /tmp as a tmpfs (RAM disk) and moved my Firefox and Chrome browser caches into RAM. Set noatime for my root and home partitions.

Should I be trying to disable the filesystem journal as well? I'm less concerned with potentially burning out the flash drive with too many writes than I am with just making the system more responsive and nicer to use.

One other thing I was reading about is the so-called "Laptop Mode" that appears to be kernel settings to allow you to spin down a laptop hard drive: [url]

Obviously a flash drive doesn't spin, but it seems like some of those same techniques could be helpful here. Is there anyone who has experience running Linux in a situation with a very slow hard drive?

The computers I'm using this flash drive with all have between 2 and 8 GB of RAM, so moving more stuff into RAM is unlikely to be an issue.

View 1 Replies View Related

Debian Hardware :: How To Limit Access Flash Memory For Users

Dec 22, 2014

How to limit access flash memory (read / write) for users on debian?

View 2 Replies View Related







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