I could really use a second set of eyes on this VPN config. :)

Hi all,
I am attempting to setup a client -> server VPN using IOS 12.4, and Cisco Client 5.x. At this point, the client does connect, however, I cannot ping, or send / receive data over the VPN.  I am initially attempting a split-tunnel config, as they seem easier.  Ideally, the client would route *all* data over the VPN including that which is destined for the public network in the interest of safe browsing remotely.  However, I haven't got that far yet. 
Currently, I have a network setup as:
FastEthernet0/0 - Public network via DHCP from ISP.
FastEthernet0/1 - Internal network on the 192.168.1.0 /24 network.
I currently have a NAT overload on FastEthernet0/0 so that internal hosts can browse the Internet.  As mentioned, I would also like to have remote VPN hosts browse the Internet via this same overload.
Below is my config in full with some parts redacted.  Please let me know what I am doing wrong for this split-tunnel setup, and any suggestions to get this working in a non-split-tunnel way would be great.  I have been working on this for 2 days, and all the tutorials and guides I've read do not seem to work for me.
Thanks!
Trevor
! Last configuration change at 23:06:48 EDT Fri Apr 27 2012 by trevor
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec+
no service password-encryption
hostname myrouter
boot-start-marker
boot-end-marker
no logging buffered
enable secret 5 sometextsometextsometext
enable password somepassword
aaa new-model
aaa authentication login userauth local
aaa authorization network groupauth local
username vpnuser password 0 vpnpassword
clock timezone EST -5
clock summer-time EDT recurring
ip name-server 4.2.2.2
! needed to enable resolutiion of the URLs in the update config commands
ip domain lookup
ip ddns update method mydomain_update
  http
   add http://login:[email protected]/nic/update?hostname=mydomain.dyndns.org&[email protected]/nic/update?hostname=mydomain.dyndns.org&myip=<a>
  interval maximum 0 0 1440 0
  interval minimum 0 0 1440 0
! Applying update method to interface
!interface FastEthernet0/0
!  ip ddns update mydomain_update
ip domain name mydomain.dyndns.org
username user privilege 15 secret 5 sometextsometextsometext
interface FastEthernet0/0
description *** Outside ***
ip address dhcp
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
crypto map vpn-map
ip ddns update mydomain_update
interface FastEthernet0/1
description *** Inside ***
ip address 192.168.1.254 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
interface Loopback0
description VPN
ip address 10.1.254.1 255.255.255.240
crypto isakmp policy 1
encryption aes
authentication pre-share
group 2
crypto isakmp client configuration group vpngroup
key vpnpassword
dns 4.2.2.2 4.2.2.1
domain mydomain.dyndns.org
pool vpnpool
acl 101
crypto ipsec transform-set vpn esp-aes esp-md5-hmac
crypto dynamic-map dynmap 10
set transform-set vpn
reverse-route
crypto map vpn-map client authentication list userauth
crypto map vpn-map isakmp authorization list groupauth
crypto map vpn-map client configuration address respond
crypto map vpn-map 10 ipsec-isakmp dynamic dynmap
ip nat inside source list 10 interface FastEthernet0/0 overload
access-list 10 permit 192.168.1.0 0.0.0.255
access-list 101 permit ip 192.168.1.0 0.0.0.255 10.1.254.0 0.0.0.255
ip local pool vpnpool 10.1.254.2 10.1.254.14
!radius-server host 192.168.1.201 auth-port 1645 acct-port 1646 key cisco
control-plane
line con 0
line aux 0
line vty 0 4
privilege level 15
transport input ssh
ntp clock-period 17208002
ntp server 142.137.247.109
end

I apologize I'm thick here.  So, I need to remove the line I added on the access-list.  So access-list 101 would just be:
access-list 101 permit 192.168.1.0 0.0.0.255 any
Which should pass the split-tunneling route to the client.
I then need to add a line to prevent nat from occurring from my internal (192.168.1.0/24) network to the VPN network which is (10.1.254.0/24).  I would also need to add a  new access-list to that effect.  However, I should keep the existing nat line in order to ensure that internal nework machines can reach the public network so:
no ip nat inside source list 102 interface FastEthernet0/0 overload
ip nat inside source list 10 interface FastEthernet0/0 overload
access-list 102 permit 192.168.1.0 0.0.0.255 10.1.245.0 0.0.0.255
Is this correct?
Thanks again for your help!
Trevor

Similar Messages

  • System won't boot. Could really use some help here.

    I have the K8T-Neo FISR2 mobo. When I set up the system, the SATA drive was set up as drive F: (onto which I installed Windows XP Home). I added a 2nd SATA drive later, and it became C:. Both drives are plugged into the Promise SATA ports. The system has been running fine for about a year now.
    I was having a problem with a program not running properly. I stopped the process and tried to restart it, but it didn't work. It was a program that drives my Logitech gaming keyboard (with LCD screen). After I rebooted, the system would load windows, then after Windows was loaded, it would load up a program when I went into it and crash. It looked like it would crash on PXHELP.DLL (something like that). I booted up into safe mode, renamed the file so it wouldn't load, and now it won't boot at all. It starts to show the Windows logo and then instantly reboots. I can't even get into Safe Mode as it does the same thing.
    I tried booting from an XP CD to do a repair, but when it boots, it doesn't see the hard drives. I downloaded the Promise drivers, put them onto a floppy, and load them as Windows is booting from the CD. It seems to load the drivers, but when I choose to do a repair (or even a new install), Windows comes back and tells me that I have no hard drives attached to the computer. I just can't seem to get Windows to see those hard drives!
    I could really use some advice here......

    Quote from: Tiresmoke on 04-January-06, 01:36:35
    Try swapping the Drive Cables. You may have one that is not engaging as well as it should.
    When I let the PC boot up like normal (without booting from the CD), it sees the drives and Windows tries to load, so I don't think it's the cables. I'll make sure they're reset, but I really don't think that's it.

  • WebAssist Cart help? I know it's off topic but... Could really use some help...

    I've got a shopping cart that is working and I'm trying to update the
    quantities in inventory by subtracting the quantity ordered from the total
    inventory in a table called ITEMS.
    I can update a record after a sale in the cart, but right now it is
    updating by completely replacing the value of the items in inventory with
    the quantity in the checkout cart. So, if there are 800 items, after the
    update, there are -1 total in inventory, not 799.
    The problem is that I don't know how to coordinate the item(s) in the stored
    shopping cart with a call to their ID and quantity in the online database.
    Here's what I have so far:

    Ahhhhhhhh Jeff...<br />If I can get this going...<br /><br />I spent days looking for this solution.<br />Thank you very much.<br />Just bought Dreamweaver CS3 and am battling through the bells and whistles.<br /><br />Liz<br /><br />----- Original Message ----- <br />From: "jefferis" <[email protected]><br />To: <[email protected]><br />Sent: Tuesday, June 19, 2007 9:50 AM<br />Subject: Re: WebAssist Cart help? I know it's off topic but... Could really <br />use some help...<br /><br />>A new message was posted by jefferis in<br />><br />> ADDT - PHP Application Development --<br />>  WebAssist Cart help? I know it's off topic but... Could really use some <br />> help...<br />><br />> On 6/16/07 3:06 PM, in article [email protected],<br />> "[email protected]" <[email protected]> wrote:<br />><br />>> Hi jefferis....<br />>><br />>> How did you solve the problem?<br />>> I am having the same problem trying to incorporate an inventory code into <br />>> a<br />>> shopping cart that will deduct the number of items purchased from my <br />>> total<br />>> inventory to let me and my customers know how many items I have remaining <br />>> in<br />>> stock.<br />>><br />>> Ex:<br />>> inventory: 500 plants<br />>> purchased: 20 plants<br />>> remaining inventory: 480 plants<br />><br />> Yes I did.<br />><br />> I've been struggling with this piece of pie for about 5 days and<br />> thought it might benefit others, so here's a way to update your quantities<br />> in INVENTORY after a checkout success.  I read another thread but found it<br />> way too complex and depended on holding inventory in the session:<br />> http://www.webassist.com/professional/support/kbcompletethread.asp?DiscID=33<br />> 046<br />> But you may lose the info when you go offsite to Paypal, e.g., to complete<br />> the transaction.<br />><br />> Here's my approach using the "checkout_success.php" page.  Using this page<br />> works because user arrives here ONLY after a successful purchase.<br />> First of all, I used the BSM php sample store as a starting point.  I <br />> added<br />> an ItemQuantity field to the items DB to track the stock or items in<br />> inventory in the store.<br />><br />> In order for this automatic deduction of sold items to work, it must be<br />> placed within the do while {  area of the  display page for the cart's<br />> items. } The code is commented below:<br />><br />> <?php<br />> //WA eCart Show If Start<br />> if (!$eCart->IsEmpty())     {    // IF CART NOT EMPTY...<br />> ?><br />>    <h2>Order Receipt </h2>  // STANDARD STUFF TILL NEXT COMMENT<br />>    <br /><br />>    <h3 class="eCart_OrderHeaderInfo">Order number: <?php echo <br />> session_id();<br />> ?></h3><br />><br />>    <p class="eCart_OrderHeaderInfo">This is your order receipt. Please <br />> make<br />> a copy for your records. An email will also be sent to you. </p><br />>    <table class="eC_ShoppingCart" border="0" cellspacing="0"<br />> cellpadding="0"><br />>            <tr><br />><br />>                    <th>Name</th><br />><br />><br />>                    <th>Price</th><br />><br />><br />>                    <th  class="eC_FormItem" >Quantity</th><br />><br />><br />>                    <th>Total</th><br />>            </tr><br />>        <?php<br />> while (!$eCart->EOF())      {  // DO WHILE FOR EACH ITEM IN CART<br />> ?><br />>            <tr><br />><br />>                    <td><img src="/images/thumbs/<?php echo<br />> $eCart->DisplayInfo("Thumbnail"); ?>" alt="" width="100" height="100"<br />> class="eC_ProductThumb" /><br />>                        <p class="eC_ItemLabel"><?php echo<br />> $eCart->DisplayInfo("Name"); ?></p><br />>                  <p class="eC_ItemDescription"><?php echo<br />> $eCart->DisplayInfo("Description"); ?></p>  <p<br />> class="eC_ItemDescription"><?php echo $eCart->DisplayInfo("ID");<br />> $idCall = $eCart->DisplayInfo("ID");?>>  // CREATE A VARIABLE FOR<br />> //THE ITEM's ID NUMBER in the DB<br />> //USE DISPLAY ID TO GET ID # and make it = $idCall<br />> </p></td<br />>                    <td  class="eC_PriceItem" ><?php echo<br />> WA_eCart_DisplayMoney($eCart, $eCart->DisplayInfo("Price")); ?></td><br />><br />><br />>                    <td  class="eC_FormItem" ><?php echo<br />> $eCart->DisplayInfo("Quantity");<br />> $solditems = $eCart->DisplayInfo("Quantity");?>  //DO THE SAME FOR <br />> QUANTITY<br />> //SOLD, MAKE QUANTITY SOLD  = $solditems<br />> </td><br />><br />> // NOW UPDATE THE DATABASE. SUBTRACT $solditems from ItemQuantity ( YOUR<br />> //INVENTORY OR STOCK)<br />> //FOR EACH ITEM IN CART. SELECT the item's ID  by $idCall:<br />> <?php<br />> mysql_select_db($database_connBSM, $connBSM);<br />> $query_itemQ = "Update items SET  items.ItemQuantity = <br />> items.ItemQuantity -<br />> $solditems WHERE items.ItemID = $idCall";<br />> $itemQ = mysql_query($query_itemQ, $connBSM) or die(mysql_error());<br />><br />> ?><br />>                    <td  class="eC_PriceItem" ><?php echo<br />> WA_eCart_DisplayMoney($eCart, $eCart->DisplayInfo("TotalPrice")); ?> </td><br />>            </tr><br />>        <?php<br />>  $eCart->MoveNext();    //// REPEATS BEHAVIOR FOR EACH ITEM IN CART<br />> }<br />> $eCart->MoveFirst();<br />> ?><br />> BTW, once the items in inventory = 0, the items do not appear in the<br />> catalog.  That is set in the catalog page's recordset.<br />> Jeff<br />> ~~~~~~~~~~~~<br />> Jefferis Peterson, Pres.<br />> Web Design and Marketing<br />> http://www.PetersonSales.com<br />><br />><br />><br />><br />> ------------------------------------------------------<br />> View/reply at <<a href="/cgi-bin/webx?13@@.3bc3e9d6/5">jefferis, "WebAssist Cart help? I know it's off topic but... Could really use some help..." #6, 19 Jun 2007 6:50 am</a>><br />> You must visit the conference to reply. Email replies are not allowed and <br />> will be returned.<br />> Use the unsubscribe form at <br />> <a href=http://www.adobeforums.com/cgi-bin/webx?280@@.3bc3e9d6!folder=.3bc3909c> <br />> to cancel your email subscription.

  • I think my iMac is infected and could really use some help

    I recently purchased an iMac for the 1st time and am having many pop ups, survey requests and emails sent from my account to people in my address book.  I used the chat help that came up on the Apple support  which was a 3rd party who did a diagnostic check on my computer.  They told me my computer was infected and wanted to charge me $159 to fix it. I could really use some suggestions.  I have heard that apple computers don't get infected but it appears mine did.

    No infections. These are all scams you can ignore. I suggest that you enable your browser's pop-up blocker which will help with some of these annoyances. For more extensive preventions I recommend GlimmerBlocker.
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection Thomas Reed recommends using Dr.Web Light from the App Store. It's free, and since it's from the App Store, it won't destabilize the system. If you prefer one of the better known commercial products, then Thomas recommends using Sophos.(Thank you to Thomas Reed for these recommendations.) If you already use Sophos, then be aware of this if you are using Mavericks: OS X Mavericks- Sophos Anti-Virus on-access scanner versions 8.0 - 9.1 may cause unexpected restarts
    From user Joe Bailey comes this equally useful advice:
    The facts are:
    1. There is no anti-malware software that can detect 100% of the malware out there.
    2. There is no anti-malware that can detect anything targeting the Mac because there
         is no Mac malware in the wild, and therefore, no "signatures" to detect.
    3. The very best way to prevent the most attacks is for you as the user to be aware that
         the most successful malware attacks rely on very sophisticated social engineering
         techniques preying on human avarice, ****, and fear.
    4. Internet popups saying the FBI, NSA, Microsoft, your ISP has detected malware on
        your computer is intended to entice you to install their malware thinking it is a
        protection against malware.
    5. Some of the anti-malware products on the market are worse than the malware
        from which they purport to protect you.
    6. Be cautious where you go on the internet.
    7. Only download anything from sites you know are safe.
    8. Avoid links you receive in email, always be suspicious even if you get something
        you think is from a friend, but you were not expecting.
    9. If there is any question in your mind, then assume it is malware.

  • When i try to re download apps for macs, it saws sign in for purchase history then nothing happens. i could really use some help. thank you

    when i try to re download apps for macs, it saws sign in for purchase history then nothing happens. i could really use some help. thank you

    Hi,
    You've come across a MAS bug.
    Install the v10.6.7 combo update here.
    Restart your Mac after the update is installed.
    Instructions for re downloading apps here.
    Carolyn  

  • Do i need 3g,4g,wifi to send sms/call somebody ? I could really use some help.

    do i need 3g,4g,wifi to send sms/call somebody ? I could really use some help.

    No, Standard Calls and text messages (SMS) only require the normal Phone service.
    You can turn off 3G/4G/LTE and Wifi and still be able to get and make calls and send and receive sms.

  • Could I use a second HDD in my Qosmio F50-108

    Could I set a second HDD in my Qosmio F50-108...
    What should I be careful of?
    What HDD should I buy?
    Thanks...........
    Message was edited by: dpasinis

    I doubt this is possible.
    As Im not mistaken the F50-108 belongs to the PQF55E series and checking this model series I found and info that this notebook supports a 320GB (5400rpm) SATA HDD but it doesnt support the second HDD.
    However, I would recommend checking the bottom of the unit. If there is an possibility for an HDD upgrade then you should find a second HDD bay with an HDD SATA connector.
    Regards

  • Computer died, could really use some help.

    I bought my system in Nov 2 2006 and it worked well, I don’t recall anything out of the ordinary. I have never over-clocked it nor have I changed any components out, it is the same as I bought it in 2006.
    However a couple of weeks ago I tried to burn a DVD and my computer just shut off, I tried this several times. I have never tried burning a DVD at all until this time.  After this my computer was giving me grief, freezing, not booting up properly as in hanging right at the MSI Platinum screen etc and seemed to me slower overall. The other day it froze on me, I reset it and would not boot up at all. The computer would just hang at the MSI screen and that’s it, I couldn’t get into the bios at all. I’m not too computer savvy but know enough to be dangerous. Talking with another dangerous friend he suggested its probably the hard drive that died and to pull the cables on it and see if it gets past the MSI screen. I did that and it went right past the msi screen and could get into the bios. I went out and bought a new hard drive and installed it, put in my xp disk in the DVD drive and went into the bios to set the dvd drive as the 1st drive to boot. Everything went well but it hangs at the windows is starting please wait screen, I left it there for an hour and that’s all it does. I then used my wife’s vista home edition disk to see if that worked better and it does the same thing just hangs and the windows loading screen.
    Looking at the forums here and I’m hoping I can get some suggestions on what I should do, any help would be appreciated.
    I have got as much data on my system as I could.
    My system:
    American Megatrends V02.59
    XP Media Center 2005 Edition 32 bit
    AMD 64 X2 AM2 3800+ Dual Core Processor
    Kingston 2x1GB PC2-5300DDR2 Ram
    Mushkin HP-550W 
    MSI K9N SLI PLATINUM A7250NMS VER 1.1 05/18/06
    (old)WD Caviar SE16 WD3200KS 320GB 32 MB
    e-VGA 7950GT KO 512MB
    LG 16x16 DVD-RW Drive
    New hard drive=WD Caviar Black WD5001AALS 500GB 32 MB cache
    Bootup Screen showed this:
    MSI
    K9N SLI PLATINUM A7250NMS VER 1.10 05/18/06
    CPU: AMD ATHLON 64 X2 DUAL CORE PROCESSOR 3800+
    SPEED:2.02 GHz   Count :2
    1 AMD North Bridge, Rev F2
    PMU ROM Versoin:5A01
    Entering Setup…
    Initializing USB Controllers..Done.
    3072MB OK
    USB Device(s): 1 Keyboard, 1 Mouse, 1 Hub
    Auto-Detecting Pri Master..ATAPI CDROM:TSSTcorpCD/DVDW SH-W1622 TS00
    Auto-Detecting Pri Slave…Not Detected
    Auto-Detecting 3rd Master..IDE Hard Disk:WDC WD5001AALS-00E3A0 05.01D05
    Thank you for any help!

    Have not tried a different power supply (guessing psu= power supply), the computer failed to boot and I just assumed it was the HD.
    Device manager? Sorry I'm not sure what you mean, I'm thinking you are reffering to putting the old HD back in, boot up and use windows device manager?

  • I could really use some help getting this all straightened out!!!

    Ok, I have a vista Home Premium, Service Pack 1. I need to get iTunes installed on this...The first time I tried, some time ago, and it told me it couldnt find "%APPDATA%\" and eventually I found a way around that...Untill I got my iPod touch, and it told me I should update it to 3.0, so I did, and now its not compatible with my itunes, so I removed itunes, but of course kept my library, ect, and now when I tried to get the new one, the "Cannot Find Network Location %APPDATA%\" (I believe its error code 1606) happened again...I tried what I thought was how I got around the last time, but it didnt work, and Im nearly positive that was how I did it...so I assume that that way is no longer possible...if anyone can just help me get itunes installed and working again with all my music, and compatible with my "updated" touch, then I would be _+*REALLY GREATFULL!!!!*+_

    Hi,
    1. Effective re-scrolling: just add some blank spaces at the end of the text that is to be scrolled.
    2+3. Implement a MouseListener (and perhaps also the MouseMotionListener) (i.e "implements Runnable, MouseListener,MouseMotionListener") and add the necessary methods for registering how the mouse moves over an object and when it clicks on an object. When it moves over a text part, stop the thread. When it leaves the text, restart the thread. And when clicking, do as you do.
    However, I find your code a bit unnecessary at parts. First, you can probably do with just writing your code in one class (Headlines3) without implementing more classes. Second, I would store the news bulletins and the URL:s in a different way: first as a separate text file (instead of having it in html parameters when calling the applet) and in the program I would store it as a matrix, something like String bulletins[][]=new String[nbrofbulletins][2]; where bulletins[x][0] is the text and bulletins[x][1] is the URL. Depending on the length of the bulletins, I would have a vector of x positions for currently visible bulletins and use these when positioning the bulletins - then it would be easy to implement that the bulletins get a different color when doing mouseOver on them.

  • RRbackups file is huge on a new factory restore..could really use some input on this one.

    This week I did a factory restore using the Thinkvantage tools on my PC. I did this because my hard drive was full despite only actually being about 50% full. I did every imaginable virus and malware scan and could not identify why my HD was showing as almost 100% full. After nearly 30 hours invested in the problem, I decided to cut my losses and restore the PC. That went fine despite losing a few programs etc and the time involved in moving 186GB of data back on to my PC.  My hard drive was back to about 50% full. Now that a few days have passed, the hard drive has filled up with almost another 100GB of data. I have isolated this to an 86GB rrbackups file. The lenovo tools show that no back ups exist so there is nothing to delete. Despite this, I noticed my hard drive lost 25GB of space in the course of an hour last night. The progression has stopped for now but I know this is going to continue. How do I correct this if there is no back up to delete? The file cannot be accessed directly.
    Also, why is so big? How should I adjust the options? Also,  I like the windows restore feature and have used it in the past several times but that seems to be disabled. Not sure how to fix this and then what to keep on or off for the longrun. Any thoughts or input would be appreciated.
    This is a spacesniffer view of the C drive:
    http://i1081.photobucket.com/albums/j349/dlc959/11-27-201112-01-45PM.png

    So Rescue and Recovery doesn't show any backups it can delete?
    If so, take ownership of the RRbackups folder, and delete it.
    W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
    X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
    Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

  • Logic Forum could really use a Tech Sticky

    Over in the Logic Pro forum, many people ask technical questions which require lengthy explanations. There are certain aspects of Logic Pro which are just not easy to explain in one or two sentences. Or even three or four.
    Sometimes when a question such as this is asked, and I elect to answer it by drawing on previous posts, I often end up spending quite a bit of time searching for relevant threads to point the OP to. And when the search takes too long, I usually just go ahead and re-re-re-re-answer the question.
    So when it comes to questions such as:
    • setting up multitimbral plugins
    • software monitoring
    • setting up CoreAudio settings
    • creating more Aux objects
    • techniques for setting the Record Delay parameter
    ...and numerous other complex topics, it would definitely be more efficient to point the poster to a compendium of these explanations. In keeping with forum fashion, I'd say that a single Sticky containing a series of self-contained posts on these topics would be a most welcome thing.
    How can such a thing be made possible?

    Hi iSchwartz,
    You could submit a User Tip. Perhaps several to cover different questions/solutions.
    If the solutions that you refer to have been posted by other users, perhaps you could colate all these answers and in the User Tip(s) give credit to the original author.
    User tips can be submitted in the User Tips Contributions forum here:
    http://discussions.apple.com/forum.jspa?forumID=632
    Once approved the User Tip(s) will then be moved to the User Tips Library forum here:
    http://discussions.apple.com/forum.jspa?forumID=599
    RD

  • Could really use some help getting SDK installation right

    On Debian Etch, P III/M
    I have tried every howto I can find, and I'm pretty sure my installation isn't right. Here's why:
    1) No environment variables whatsoever containing any java related information (that I can tell)
    2) No classpath. (I can't get a comprehensible explanation on what that is, but every howto refers to it)
    3) Can't compile this simple program without getting JFrame not found:
    import javax.swing.Jframe;
    public class Frametest{
    public static void main(String[] args){
    Jframe frame1 = new Jframe("Frame Demo");
    frame1.set.size(300,300);
    frame1.set.visible(true);
    close approximation of error (minus the pointer to JFrame):
    Frametest.java:1: cannot find symbol
    symbol : class Jframe
    location: package javax.swing
    import javax.swing.Jframe;
    I really need to get this going.

    On Debian Etch, P III/M
    What's that mean?
    >
    I have tried every howto I can find, and I'm pretty sure my installation isn't
    right. Here's why:
    1) No environment variables whatsoever containing any java related
    information (that I can tell)
    Check that later after the following stuff - but here's where the PATH should be on (Windows XP, is it?) ... My Computer | Control Panel | System | Advanced | Environmental Variables | Systems Variables | PATH
    2) No classpath. (I can't get a comprehensible explanation on what that is,
    but every howto refers to it)
    It's how Java locates the classes you want/need to run. Sort of like your pgm has instructions to: 1) get some lemon drops from the appothecary; 2) get some bacon from the butcher; 3) get some grolsch from the package store; and meanwhile your classpath says: 1) The chemists is on the corner of Birch and Long; 2) the Butcher's is at 111 Grand blvd; 3) the package store is on 12 Main street.
    3) Can't compile this simple program without getting JFrame not found:
    import javax.swing.Jframe;
    public class Frametest{
    public static void main(String[] args){
    Jframe frame1 = new Jframe("Frame Demo");
    frame1.set.size(300,300);
    frame1.set.visible(true);
    close approximation of error (minus the pointer to
    JFrame):
    Frametest.java:1: cannot find symbol
    symbol : class Jframe
    location: package javax.swing
    import javax.swing.Jframe;
    I really need to get this going.
    Seems like your PATH is set okay - you can compile / the system recognizes the javac command.

  • Simple email form not so simple UGH!!! Could really use some help!

    All I need is a simple form for name, email addy and comment.  I've been working on this all day/night and am pulling my hair out!!!
    Any help is appreciated!!
    It is sitting here:   http://loonstyn.com/contact-form.html
    Here is the code I'm using (both pages):
    For the form page:
    <HTML>
    <HEAD><title>Contact Form</title></HEAD>
    <BODY>
    <form method="POST" name="contact_form" action="http://www.loonstyn.com/contact-form-handler.php">
    Enter Name: <input type="text" name="name"> <br>
    Enter Email Address: <input type="text" name="email"> <br>
    Enter Postal Address: <input type="text" name="postal_address"> <br>
    Enter Message: <textarea name="message"></textarea><br>
    <input type="submit" value="Submit"><br>
    </form>
    </BODY>
    </HTML>
    For the handler:
    <?php
    $error_occured = "no";
    $name = $_POST['name']; // getting the value of name
    $email_address = $_POST['email']; // getting the value of email address
    $postal_address = $_POST['postal_address']; // getting the value of postal address
    $message = $_POST['message']; // getting the value of user message
    ////////////////// Data Validation ////////////////
    if($name=="" || $name==" ") {
    $error_occured = "yes";
    echo "Error: You have NOT entered your name. Please click on BACK button of your browser and correct this error to proceed.";
    if (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email_address)){
    $error_occured = "yes";
    echo "Error: You have NOT entered the correct email address. Please click on BACK button of your browser and correct this error to proceed.";
    if($postal_address=="" || $postal_address==" ") {
    $error_occured = "yes";
    echo "Error: You have NOT entered your postal address. Please click on BACK button of your browser and correct this error to proceed.";
    if($message=="" || $message==" ") {
    $error_occured = "yes";
    echo "Error: You have NOT entered your message. Please click on BACK button of your browser and correct this error to proceed.";
    if($error_occured=="no") {
    $to = "[email protected]";
    $email_from = $email_address;
    $email_subject = "New Message For you";
    $email_body = "You have received a new message. Here are the details: Name = " . $name . ", Postal Address = " . $postal_address . ", Message = ". $message;
    $headers = "From: $email_from";
    mail($to,$email_subject,$email_body,$headers);
    echo "Your message was sent successfully";
    ?>

    Try this contact form. It may give you some ideas for yours. This form is set up to require 3 additional files, a header file, a menu and a footer file. You can pust what ever you want in them. The header and footer are excellent for any repetitive portions that are needed on multiple web pages. Feel free to remove the includes and inject the necessary code to finish the web page.
    <?php
    $pagetitle='Contact';
    include ('header.inc');
    print '<h1>Contact</h1>';
    include ('menu.inc');
    if ($_POST['B1']!=true) {
    print <<<FORM
    <div class="contact">
    <form method="post" action="{$_SERVER['PHP_SELF']}">
      <p><sup style="color: red; font-size: 150%">*</sup>Name:<br /><input type="text" name="T1" size="30" value="" /></p>
      <p><sup style="color: red; font-size: 150%">*</sup>E-mail address:<br /><input type="text" name="T2" size="30" value="" /></p>
      <p><sup style="color: red; font-size: 150%">*</sup>Subject:<br /><input type="text" name="T3" size="50" value="" /></p>
      <p><sup style="color: red; font-size: 150%">*</sup>Message:<br /><textarea name="S1" rows="10" cols="80" style="vertical-align: bottom"></textarea></p>
      <p style="text-align: center"><input type="submit" value="Submit" name="B1" />        <input type="reset" value="Reset"
      name="B2" /></p>
    </form>
    <p><sup style="color: red; font-size: 150%">*</sup>Required</p>
    </div>
    FORM;
    if ($_POST['B1']==true) {
    $to='[email protected]';
    $ip=htmlentities(trim($_SERVER['REMOTE_ADDR']));
    $name=htmlentities(trim($_POST['T1']));
    $email=htmlentities(trim($_POST['T2']));
    $inputsubject=htmlentities(trim($_POST['T3']));
    $subject="A message from a your website";
    $header='From: your name's Contact Page <[email protected]>';
    $message="Name: " . $name . "\nEmail: " . $email. "\nRemote IP: " . $ip . "\nSubject: " . $inputsubject . "\nMessage:\n" . htmlentities(trim($_POST['S1']));
    if (($name==null)||($email==null)||($subject==null)||($_POST['S1']==null)) {
    print "<h3>Sorry, but you did not provide enough information, Make sure all sections are filled in<br />Please try again</h3>";
    print <<<BACK
    <input type="submit" value="Back" onclick = "history.back()">
    BACK;
    die();
    mail ($to, $subject, $message, $header);
    print "<h3>" . $name . "<br />" . 'Thank you for contacting example.com' . "</h3>";
    print "<p style=\"color: rgb(128,128,255)\"><--- Please use menu to navigate from this page!</p><br /><br /><br /><br />&nbsp<br /><br /><br /><br /><br />&nbsp<br /><br /><br />&nbsp<br />";
    include ('footer.inc');
    ?>
    On your form, a word of warning - Never allow input from a user to be used as a value for the mail header. As this allows someone to inject code including javascript into your email. Forcing you to email someone else with spam. It is best to create you fixed value that you know for the mail header and place their input in your message body where it won't hurt anything. And always use htmlentities to strip their inmput from any html tags.
    Good luck...

  • Wow,  newer to macs and could really use some help!

    Heres the problem I have...
    a while ago (november?) my power mac g4 dedided it no longer wanted an OS on it, so it pooped out tiger and was a very heavy paper wieght. I have no idea how this happened, or why... all I know is that I bought it without disks to put it back on.
    recently I bought a universal version of OS X tiger 10.4.3 and planned on putting it on. when I get to the screen of selecting a HD to put it on, the one I have comes up unable to have it be used. I know it has to deal something with formating or something... the error I get is
    "Youc can not install Mac OS X on this volume. Mac OS X cannot start up from the volume."
    could someone walk me through STEP BY STEP of what I need to do and what choices I should pick so I can get my single HD to actually.. work?

    Boot with the install disk, select your language, and, when the file menu pops up, select Utilities->Disk Utility, select the HD, click on the erase tab, format it Mac OS Extended, select install OS 9 drivers if the machine can boot from OS 9 and you have the OS 9 install disks, and click on erase. Quit Disk Utility and continue the installation. If that works, you're finished.
    BTW, I strongly suggest that you get the disks that shipped with the machine from the seller or call 1-800-MY-APPLE and get replacement disks.

  • Lightbox 2 problem- Could really use some help!!!

    I have several galleries the last picture of each gallery repeats over and over. Caption says 10f 8 but I only have 5 pictures but last one just keeps repeating! Would really apprecite some help.
    Here's source code but I'm wonderingcould it be a problem with lightbox.js or jquery-1.7.2
    because I've checked this all over and over and it appears to be correct. I'm not familiar with their coding.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Truss</title>
    <script src="js/jquery-1.7.2.min.js"></script>
    <script src="js/lightbox.js"></script>
    <link href="css/lightbox.css" rel="stylesheet" />
    <style type="text/css">
    body {
        background; #036;
        text-align: center;
        background-repeat: repeat-x;
        background-image: url(Images/greenbluefade_drops.jpg);
    html.body {
        padding: 0px;
        margin-right: auto;
        margin-bottom: 0px;
        margin-left: auto;
        height: 0px;
        width: 1170px;
        background-repeat: repeat-x;
        position: relative;
        margin-top: 25px;
    #wrapper {
        height: 1400px;
        width: 970px;
        text-align: left;
        margin-right: auto;
        margin-bottom: 0px;
        margin-left: auto;
        padding: 0px;
    #header {
        background-color: #FFF;
        width: 970px;
        float: left;
        position: relative;
        margin: 0px;
        height: 61px;
    #logo_box {
        height: 269px;
        width: 366px;
        position: absolute;
        z-index: 500;
        left: -130px;
    #logoshadow {
        height: 200px;
        width: 230px;
        z-index: 200;
        margin-left: 18px;
    #sidebar {
        height: 1000px;
        width: 245px;
        position: absolute;
        background-repeat: no-repeat;
        background-image: url(Images/left_sidebar-copy.png);
        clear: both;
        left: 20px;
    #nav_bar {
        background-color: #244AB0;
        height: 45px;
        width: 708px;
        float: left;
        padding-left: 263px;
    #side_captions {
        height: 725px;
        width: 225px;
        padding-left: 20px;
        z-index: 100;
        margin-top: 0px;
        padding-top: 0px;
    #photobox {
        background-image: url(Images/marble.jpg);
        background-repeat: repeat;
        float: left;
        height: 1000px;
        width: 0px;
        padding-left: 300px;
        position: relative;
    #photobx2dcolumn {
        background-image: url(Images/marble.jpg);
        background-repeat: repeat;
        float: left;
        height: 1000px;
        width: 310px;
    #photobox_column3 {
        background-image: url(Images/marble.jpg);
        background-repeat: repeat;
        height: 922px;
        width: 330px;
        float: left;
        padding-top: 52px;
        padding-left: 30px;
    .bridge_photo_box {
        background-color: #FFF;
        padding: 10px;
        height: 154px;
        width: 250px;
    .box-shadow {
        height: 200px;
        width: 290px;
        background-image: url(Images/shadowbridgeboxes.png);
        background-repeat: no-repeat;
        margin-bottom: 20px;
    #footer {
        background-color: #1B1B1C;
        clear: left;
        height: 200px;
        width: 720px;
        padding-left: 250px;
        padding-top: 1px;
        margin-top: 0px;
    #browser_whitebar {
        background-color: #FFF;
        height: 120px;
        width: auto;
    body,td,th {
        font-family: Georgia, "Times New Roman", Times, serif;
    h5 {
        font-size: 42px;
        color: #FFF;
        font-family: Georgia, "Times New Roman", Times, serif;
        font-weight: normal;
        text-align: center;
        line-height: normal;
        vertical-align: top;
        white-space: normal;
    h1 {
        font-size: 40px;
        color: #244FB3;
    h1_bridges {
        color: #779788;
        padding-left: 10px;
    .H1bridgeheads {
        color: #75958A;
        margin-top: 30px;
        font-size: 36px;
    h2 {
        font-size: 17px;
        color: #666;
    h3 {
        font-size: 17px;
        color: #000;
    h4 {
        font-size: 17px;
        color: #000;
    a {
        font-size: 17px;
        color: #03F;
    a:visited {
        color: #7A0A2F;
    a:hover {
        color: #FFF;
    a:active {
        color: #666;
    </style>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="wrapper">
      <div id="header">
        <div id="logo_box"><img src="images/tensor_final_logo_website.png" alt="logo_leftinclude" width="362" height="270" /></div>
      </div>
      <div id="nav_bar">
        <div id="nav_position">
          <ul id="MenuBar1" class="MenuBarHorizontal">
            <li><a href="#">HOME</a>        </li>
            <li><a href="#">ABOUT US</a>
              <ul>
                <li><a href="#">FOUNDER</a></li>
                <li><a href="#">MANAGEMENT</a></li>
              </ul>
            </li>
            <li><a href="#">CAPABILITIES</a>        </li>
            <li><a href="#">PORTFOLIO</a>
              <ul>
                <li><a href="#">ARCH</a></li>
                <li><a href="#">BASCULE</a></li>
                <li><a href="#">BOX GIRDER</a></li>
                <li><a href="#">CABLE STAYED</a></li>
                <li><a href="#">PLATE GIRDER</a></li>
                <li><a href="#">TRUSS</a></li>
                <li><a href="#">VERTICLE LIFT</a></li>
                <li><a href="#">SUSPENTION</a></li>
              </ul>
            </li>
            <li><a href="#">AWARDS</a></li>
            <li><a href="#">CONTACT </a></li>
            <li><a href="#">BLOG</a></li>
          </ul>
        </div>
      </div>
      <div id="photobox">
          <div id="sidebar">
            <div id="logoshadow"><img src="Images/logoshadow.png" width="226" height="190" alt="logo_shadow" /></div>
            <div id="side_captions">
              <h2>Leading the Industry<br />
                for over 50 Years
              </h2>
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
              <br />
            <img src="Images/organizationsymbols.png" alt="3symbols" width="175" height="52" hspace="15" /></div>
          </div>
      </div>
      <div id="photobx2dcolumn">
      <h1 class="H1bridgeheads">Verticle Lift</h1>
      <div class="box-shadow">
          <div class="bridge_photo_box">
    <a href="images/portfolio/verticalliftcategory/amgallery/am1.jpg"rel="lightbox[amgallery]" title="Amtrack RR over Thames River <br /><br />
    (Click right side of image to forward and left for back)">
    <img src="images/portfolio/verticalliftcategory/amgallery/amthumb.jpg" width="250" height="154" alt="Amtrack RR over Thames River " /></a>
    <a href="images/portfolio/verticalliftcategory/amgallery/am2.jpg"rel="lightbox[amgallery]" title= "Amtrack RR over Thames River <br /><br /></a>
    (Click right side of image to forward and left for back)">
    <a href="images/portfolio/verticalliftcategory/amgallery/am3.jpg"rel="lightbox[amgallery]" title= "Amtrack RR over Thames River <br /><br /></a>
    (Click right side of image to forward and left for back)">
    <a href="images/portfolio/verticalliftcategory/amgallery/am4.jpg"rel="lightbox[amgallery]" title= "Amtrack RR over Thames River <br /><br /></a>
    (Click right side of image to forward and left for back)">
    <a href="images/portfolio/verticalliftcategory/amgallery/am5.jpg"rel="lightbox[amgallery]" title= "Amtrack RR over Thames River <br /><br /></a>
    (Click right side of image to forward and left for back)">
    </div>
        </div
        ><div class="box-shadow">
          <div class="bridge_photo_box">
    <a href="images/portfolio/verticalliftcategory/csxgallery/csx1.jpg" rel="lightbox[csxgallery]" title= "CSX Lift Span over the Mobile River <br /><br />
    (Click right side of image to forward and left for back)">
    <img src="images/portfolio/verticalliftcategory/csxgallery/csxthumb.jpg" width="250" height="154" alt="CSX Lift Span over the Mobile River CSX Lift Span over the Mobile River " /></a>
    <a href="images/portfolio/verticalliftcategory/csxgallery/csx2.jpg" rel="lightbox[csxgallery]" title= "CSX Lift Span over the Mobile River <br /><br /></a>
    (Click right side of image to forward and left for back)">
    <a href="images/portfolio/verticalliftcategory/csxgallery/csx3.jpg" rel="lightbox[csxgallery]" title= "CSX Lift Span over the Mobile River <br /><br /></a>
    (Click right side of image to forward and left for back)">
    <a href="images/portfolio/verticalliftcategory/csxgallery/csx4.jpg" rel="lightbox[csxgallery]" title= "CSX Lift Span over the Mobile River <br /><br /></a>
    (Click right side of image to forward and left for back)">
    <a href="images/portfolio/verticalliftcategory/csxgallery/csx5.jpg" rel="lightbox[csxgallery]" title= "CSX Lift Span over the Mobile River <br /><br /></a>
    (Click right side of image to forward and left for back)"></div>
        </div>
      </div>
        <div id="photobox_column3"><br />
          <br />
          <div class="box-shadow">
            <div class="bridge_photo_box">
    <a href="images/portfolio/verticalliftcategory/burlinggallery/burling1.jpg"rel="lightbox[bur linggallery]" title= "Burlington Northern Lift Span <br /><br />
    (Click right side of image to forward and left for back)">
    <img src="images/portfolio/verticalliftcategory/burlinggallery/burlingthumb.jpg" width="250" height="154" alt="Burlington Northern Lift Span" /></a>
    <a href="images/portfolio/verticalliftcategory/burlinggallery/burling2.jpg"rel="lightbox[bur linggallery]" title= "Burlington Northern Lift Span <br /><br /></a>
    (Click right side of image to forward and left for back)">
    <a href="images/portfolio/verticalliftcategory/burlinggallery/burling3.jpg"rel="lightbox[bur linggallery]" title= "Burlington Northern Lift Span <br /><br /></a>
    (Click right side of image to forward and left for back)">
    <a href="images/portfolio/verticalliftcategory/burlinggallery/burling4.jpg"rel="lightbox[bur linggallery]" title= "Burlington Northern Lift Span <br /><br /></a>
    (Click right side of image to forward and left for back)">
    </div>
          </div>
      </div>
        <div id="footer">Content for  id "footer" Goes Here</div>
    <div id="apDiv1"></div>
      </div>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>

    Your first section - the code is fully malfunctioning.
    <div class="box-shadow">
          <div class="bridge_photo_box">
    <a href="images/portfolio/verticalliftcategory/amgallery/am1.jpg"rel="lightbox[amgallery]" title="Amtrack RR over Thames River <br /><br />
    (Click right side of image to forward and left for back)">
    <img src="images/portfolio/verticalliftcategory/amgallery/amthumb.jpg" width="250" height="154" alt="Amtrack RR over Thames River " /></a>
    <a href="images/portfolio/verticalliftcategory/amgallery/am2.jpg"rel="lightbox[amgallery]" title= "Amtrack RR over Thames River <br /><br /></a>
    (Click right side of image to forward and left for back)">
    <a href="images/portfolio/verticalliftcategory/amgallery/am3.jpg"rel="lightbox[amgallery]" title= "Amtrack RR over Thames River <br /><br /></a>
    (Click right side of image to forward and left for back)">
    <a href="images/portfolio/verticalliftcategory/amgallery/am4.jpg"rel="lightbox[amgallery]" title= "Amtrack RR over Thames River <br /><br /></a>
    (Click right side of image to forward and left for back)">
    <a href="images/portfolio/verticalliftcategory/amgallery/am5.jpg"rel="lightbox[amgallery]" title= "Amtrack RR over Thames River <br /><br /></a>
    (Click right side of image to forward and left for back)">
    </div>
        </div
        ><div class="box-shadow">
    Remove all <br> tags from within the title tag. You cannot have nested tags this way. Also, the instruction wont be required (IMO). People should be knowing how to navigate lightbox. Or, you could do one thing and display the right and left arrows at all times (not just while hover, the way it is now). This will fix 50% of your problem.
    Notice the red highlight in your code above. Fix the closing DIV tag.
    Provide thumbnails for all of your Lightbox images. This way your users are aware there are more images on your site. Also, you give them the choice of choosing what image they want to zoom into, rather than forcing them to go through them one at a time.

Maybe you are looking for

  • Using new Creative Zen without Zen Media Explo

    Hi I have just received my Creative Zen. I wanted to use it like an external hard disk as well as an MP3 player but on my computer Windows XP only detects the Zen after I have installed Zen Media Explorer. This means I can't use it on other computers

  • Incoterms in PO line item

    Hi, As the Vendor Inco terms in PO header is getting populated from the vendor master...similarly Inco terms in PO Line item gets populated fromArticle PIR...If its blank then it doesnt get any value & if the same is maintain in PIR manually then Inc

  • Can a deleted PO line item be archived?

    Hi, Is it possible to archive PO Line item after deletion? while the same PO can be active for other line items? If yes will be pleased to know the steps & any complexity involved? Regards, Vengat

  • Problem sync contact after Update

    We have updated the BlackBerry Q10, after restart all contacts is not synchronised and unavailable ? We work with ActiveSync (Synchronisation with Office 365) before update the BlackBerry worked fine. I tried of deleted account Exchange ActiveSync an

  • Multipart/form-data and file attachment

    Hi , This question has probably been asked before, but if not then here it is. Any replies will be appreciated: Q. When using "Enctype=Multipart/form-data", with file attachment alongwith other form fields, is it mandatory to attach a file ? What if