Ubuntu :: Links Browser Script - Automatically Fills In The Credentials On The Links Login Page?
Dec 6, 2010
At my Uni, we use a web-based login for our internet connections. Its based off of Cisco, and every Wednesday night every computer on campus must re-enter their credentials to use the network.
Normally on my several computers I simply pull up the Terminal, point links to google.com using
Code:
And enter my credentials when Cisco redirects to the login page.
Literally, the process is
Code:
Then ENTER to accept the redirect, down arrow to skip over the logo image, USERNAME, ENTER, PASSWORD, ENTER, ENTER.
Naturally, this is EXTREMELY time consuming, as I have about 5 computers located around campus and must physically walk to the machines and login every single week.
My question is, How would I formulate a program that does the following;
1) checks for connectivity (i.e. is able to reach/resolve to the greater part of the internet) and
2) automatically fills in the credentials on the links login page?
I have a personal wiki of notes, with now thousands of links in markdown format:
[link text](http://example.com)
but now that fckeditor is available for mediawiki (very beta), it has become much better to just stick with wikitext format. There are only a few conversions to do: tables, links, and bulleted lists. The lists are a fairly simple regex and fckeditor magically reformats the tables, so all I'm left with is the links. But I'm not a regex master. How do I reformat code...
I have a website I want to map all the links starting at a given page, and record where everything is linked. I want to record any broken links, and have a nice little hierarchy of link names when I'm done. I thought the package webcheck could do this for me but I'm not sure.
the server is windows 2003. Im interested in any means that can accomplish this task.
i have a Realtek RTL8192E Wireless LAN 802.11n PCI-E NIC card on my Samsung r580 laptop that i just installed Ubuntu studio 10.04 on. I am wondering how to get the wireless card working in Ubuntu. I saw some info on my card here *url #1 (the urls i reference are in the attached txt file called urls.txt because i couldn't post the actual urls because apparently i need to post 15 times or something which i don't have time for at the moment)* and then i went here to download ndiswrapper *url #2* and both of the links on that page don't work. I followed the instructions on this page *urls #3* to get the info on my card. here is the info when i typed "lspci -knn" into the terminal in ubuntu studio. Code: 00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 12)
Kernel modules: intel-agp 00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express x16 Root Port [8086:0045] (rev 12) Kernel driver in use: pcieport Kernel modules: shpchp 00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06) Kernel driver in use: ehci_hcd
I am attempting to write a shell script that accesses a web page with a specified log-in and parses said page for download links to installation packages. Can anyone advise on the possible (and best) ways to go about this? Perl? wget? curl? I haven't been able to find any clear-cut documentation so far concerning the aforementioned -- if anyone has some favorite tutorials on parsing web data that would also be useful.
I have Chrome as my default browser, I also have FF 5 installed. If I click an html link form my desktop, or a separate program opens a web page, they always open in FF. I have seen this in older versions of Ubuntu also, 32 & 64 bit. What is the issue?
I am using Ubuntu 9.04. In Google Chrome (7.0.517.41 beta), Firefox (3.6.11) and Opera (10.63), links are not highlighting properly after clicking them. Either there is no difference, or they are so similar in colour as to be almost indistinguishable (dark blue and slightly darker blue).
When I click on an http link in Thunderbird, nothing at all happens. There's no error message on the console, there's no new browser starting, and there's no new tab opening with the browser already running.
I've tried: sudo update-alternatives --config x-www-browser, choosing firefox.I've also tried: adding a new string value to Thunderbird's warranty-voiding config: network.protocol-handler.app.http, with a value of /usr/bin/firefox. This was recommended in various threads.But no luck.There's an entry for https - firefox on the Attachment tab of the preferences, and https links are indeed opening in Firefox. But not http.KDE 4.4.2 itself has default mail client and browser set to Thunderbird 3.0.4 and Firefox 3.6.3 (both from the repositories, no website downloads).
Whenever I click a website link to a .pdf I get this error message, "Could not launch Adobe Reader 8.1.2. Please make sure it exists in PATH variable in the environment. If the problem persists, please reinstall the application." Even though there is no Adobe Reader installed on my p.c.
I then have to right click the link and "Save link as How do I set the PATH variable so that Evince can open the document directly without first having to save the link?
We run Ubuntu 10.04 Server for our solutions, but I'm having a bizarre problem with init.d boot scripts. I have a script for the Sangoma wanpipe drivers that I modified to add the LSB information so that "update rc.d wanrouter defaults" runs correctly. The symbolic links from rcN.d to init.However, when I reboot the system, all the rcN.d links have disappeared and wanrouter isn't automatically started!I've never seen this kind of behaviour from a Unix based system in 20+ years, so I'm baffled as to how to fix the problem.
I am trying to set up scripts to execute Luckybackup and make them easily available to all users of the computer. Following the recommendation of the web site (http://ubuntu-tutorials.com/2006/12/...-all-versions/) I tried to set up a folder (/usr/local/myprograms/luckybackup_scripts) containing the scripts, and to put symlinks pointing to the scripts in /usr/lock/bin.
The object of this design was to have my local programs clearly separate from any other programs, and to point to them with symlinks in /usr/local/bin. is because /usr/local/bin is automatically searched when a terminal command is issued so the user need not specify the whole path to the script.The problem that I ran into was that the system would not let me create symlinks to scripts in /usr/local/myprograms/luchybackup_scripts. While ths symlink was created, it was invalid and did point to any target. The only symlinks that I could create had to be in the same folder as the target, namely /usr/local/myprograms/luckybackup_scripts. I tried to create the links using Terminal and "sudo ln -s
Links from third party applications do not work any more. When I go to click on links from PDF,s or from Pino or KeePass nothing happens. I've tested different browsers Opera, Chrome, Midori etc same thing links just don't work from third party apps.
I just installed Ubuntu 10.04.1 LTS i386 on my desktop after not having it on there for while then decided to do a clean install on my laptop, which had 10.04, but I had screwed a few things up on it... (and a fresh install is always nice
Anyway, no big deal, just kinda weird: Whenever I google something that I had just googled before on my desktop (ie, a program or something that I had installed, and wanted to install on my laptop also), the link for the result is purple, as if I had already visited that link. But I know I haven't because this is a completely fresh install, I reformatted and everything. The only thing I can think of is that somehow the history/clicked links got transferred to the live CD from my desktop, as I used the same disc for both installs, but this seems a bit improbable imo.
EDIT: I just realized that I did NOT use the same disc for both installs, I couldn't find the original so I burned the .iso onto another one for my laptop install....
When in Chrome or Firefox periodically I want to place a shortcut to a web page on my desktop. To do this I click on the button just to the left of the address and drag it up to the desktop. Sometimes this works but more often this creates a copy of the HTML page. And if the web page is HTTPS I get an error. I can drag to the Bookmarks Bar and it copies the link fine. Then I can drag it from the Bookmarks Bar to the desktop. I know I can create a launcher for the web page on my desktop but that's a lot of trouble. Why would dragging to the desktop work sometimes and not others? Are there any work arounds or fixes? I am using Ubuntu 10.4, Chrome 6.0.472.53 and FF 3.6.10.
A series of updates were suggested to update by update manager yesterday and I updated them. My computer crashed a few hours later and after rebooting there is this annoying problem with links. Nautilus can no longer open samba shares smb:// nor can it open web site addresses when I click on a link in evolution. I did some digging around and found that gvfs-bin was not installed and it was suggested on the forums that this might be the problem. I installed it but it made no difference. There's a related thread I posted to here [URL]
Also when you go to the "connect to server" option under places, the only thing listed as an option is "custom location". Even worse, my external hard disk doesn't automount anymore either.
I know how to make symbolic links on the same or between two different partitions. But is it possible to make symbolic links between two different servers, that are on the same lan?
I'm trying to download firefox or chrome for windows so that I can use it in wine. Trouble is when I try to dowload a windows version of either I get spoonfed the download link for the linux version only, which I obviously already have. I dont mind dowloading it from somewhere else if I have to, but dowloading it from the developers is usually the best option.Why are these, and probably other, websites spoonfeeding us, and with no choice but to be spoonfed? As a computer user it's patronizing, but as a linux user its just insulting.
I use the following to mount a share from one NAS to another NAS (both runing Linux based on Ubuntu):mount -t cifs //rmthost/rmtshare -o username=id,password=pw mntdir/ lcldir...It mounts fine and I can access the files with no problems except when I access a directory or file that is a link. When I do that it links me back to the local drive and not the mounted share. How do I get the remote links to stay remote? Is it even possible?
why scp command not copy links from local copmuter to other ( how to copy the links)as scp -rp dir linux:/dir_targetremark in dir I have files and links
I searched Google with "C++ puzzles" and some similar keywords. I found some *not* very satisfactory blogs. But I couldn't find any site dedicated to C/C++ puzzles !
Kindly list any excellent site or book dedicated for the above said purpose.
I have been having trouble getting Thunderbird to open links within my emails. When a link is clicked there is no response at all. I am running firefox version 3.6.2 and Thunderbird 3.0.3. After surfing the interweb and the forums I have tried setting the default browser through Firefox itself and through the preferred applications GUI in Ubuntu with no luck. I have gone into the about:config for Thunderbird and added the following lines:
Clicking on a web link in an application used to open Firefox in the foreground, on top of the calling application in previous versions of Ubuntu (i.e. whatever versions of applications shipped by default).
In Ubuntu 10.04 if I click on a link in an email message then it opens the page within Firefox 3.6.3, but leaves Firefox behind the calling application. I would prefer to have Firefox take the focus and load the web page on top of my email. I have tried the usual fixes (setting browser.tabs.loadDivertedInBackground and disabling the Ubuntu extensions), but I can not make Firefox take the focus. Funnily enough, most of the threads I see refer to preventing Firefox from opening on top.
The problem actually lies with Firefox (3.0.19) After I solved my problems, everything looked fine at first. That was until I went to one particular website and found that some links were missing. They simply were not showing in the browser. They were showing in the source code, so they should have appeared. Now, I have two different profiles by using: