Using netcfg for an Ad-Hoc network

I have an app on my phone that allows me to tether via an Ad-Hoc network.  So I want to set up a netcfg profile.  I'm using what lcpci refers to as "Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)" and I'm using the iwl3945 module.  Here's what I wrote:
CONNECTION="wireless"
DESCRIPTION="A simple WEP encrypted wireless connection"
INTERFACE=wlan0
SCAN="yes"
SECURITY="none"
ESSID="G1Tether "
IP="dhcp"
IWOPTS="mode Ad-Hoc essid $ESSID"
But ... it doesn't work.  This is what netcfg reports:
[root@pwn network.d]# netcfg tether
:: tether up - Wireless association failed. [FAIL]
Interestingly enough, iwconfig states that it is in Managed mode, even though I used iwopts to set it to ad-hoc:
[max@pwn ~]$ iwconfig
lo no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11abg ESSID:"G1Tether "
Mode:Managed Frequency:2.422 GHz Access Point: Not-Associated
Tx-Power=14 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
Something else that is interesting: if I try to switch modes while the interface is up, it will fail:
[root@pwn network.d]# iwconfig wlan0 mode Ad-Hoc
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Device or resource busy.
I have to manually bring the interface down with ifconfig, set it to ad-hoc, then bring it up.  Perhaps this has something to do with it, I'm not entirely sure.
What should I try to make this work?  If I use iwconfig, I can associate with my phone just fine.  It gets an IP and I'm able to go online, so it works.  And also, is there a way to use netcfg to set ad-hoc mode without using IWOPTS=()?
edit - Yes, I know there's a space in the essid, it's supposed to be that way
Last edited by synthead (2009-02-26 12:55:25)

Hi,
Thanks again for your time.
This is what happens when I try to run netcfg.
[sam@sony ~]$ sudo netcfg g2
:: g2 up [BUSY] dhcpcd: version 5.1.4 starting
dhcpcd: wlan0: waiting for carrier
dhcpcd: timed out
This is my configuration file
[sam@sony ~]$ cat /etc/network.d/g2
CONNECTION="wireless"
DESCRIPTION="Automatically generated profile"
INTERFACE=wlan0
HOSTNAME=sony
IP="dhcp"
DHCP_TIMEOUT=10
ESSID="g2"
SECURITY="NONE"
KEY=""
SCAN="NO"
TIMEOUT=15
PRE_UP="ifconfig wlan0 down; iwconfig wlan0 mode ad-hoc; iwconfig wlan0 essid g2; ifconfig wlan0 up; dhcpcd wlan0"
I even stopped the wicd daemon. No difference. It keeps trying to connect to the home network even with the router switched off.
Not sure where to go from here.
Samsom

Similar Messages

  • Applescript for automatic ad-hoc network at boot up - HELP!

    Hello,
    I have a Mac Mini that is used as an audio music server.  There is no attached keyboard, mouse or screen.  I control Itunes using Itunes Remote on an Ipad.
    I use this setup for displaying in areas where there is no wi-fi.
    I need to have a stable ad-hoc (computer to computer) network between the Mac Mini and the Ipad.
    I want the Mac Mini to boot up with the ad-hoc network setup automatically.  I found the following Applescript out on the web that is suppose to do this:
    property CreateMenuName : "Create Network…"
    property NetworkName : "testNet"
    tell application "System Events"
        tell process "SystemUIServer"
            tell menu bar 1
                set menu_extras to value of attribute "AXDescription" of menu bar items
                repeat with the_menu from 1 to the count of menu_extras
                    if item the_menu of menu_extras is "Airport Menu Extra" then exit repeat
                end repeat
                tell menu bar item the_menu
                    perform action "AXPress"
                    delay 0.2
                    perform action "AXPress" of menu item CreateMenuName of menu 1
                end tell
            end tell
            repeat until exists window 1
                delay 0.5
            end repeat
            tell window 1
                keystroke NetworkName
                click button 1
            end tell
        end tell
    end tell
    The problem is that I have errors all the time..... Most errors mean that I can not use the Mac Mini until I connect a screen, mouse and keyboard to repair the problem.....
    1)  I have to have the Ipad "forget" the ad-hoc network name before I turn the Mac Mini on.
    2)  At random times the Mac Mini says that the Network Name already exsists.
    Sometimes it works fine.  Other times not at all.
    Any help would be much appreciated!

    You might try the steps in this Knowledge Base article;
    http://docs.info.apple.com/article.html?artnum=304482
    Dah•veed

  • Trying to use iCal for Mac on Windows network

    I'm using iCal on an iMac using a Windows based server. I can see when Windows users invite me to meetings, but I can't seem to invite them. I get the message "The account "name" currently can't be modified. To discard your charges and continue using the version of your calendars that's on the server, click Revert to Server. When doing so, I receive the message "You entered an invitee that wasn't recognized by the server."
    I'm using an 27" iMac running OS X 10.7.3.

        Good Afternoon, dgcaskey,
    I love my Hangouts application. Let's see if we can get this up and running for you. Have you been able to use this application before? Or did you just installed this app onto your phone? Have you been able to delete the application off the phone and redownload it? When you receive a text message does it come in through the Hangouts app or the normal stocked application that is on the phone? Please keep us posted.
    KevinR_VZW
    Please follow us on Twitter @VZWSupport

  • [Problem] Issue to create Ad-Hoc Network for iPad via MacBook

    Hello everyone,
    I have a white MacBook (2007) and an iPad 2.
    I am at a hotel which only has a cable Internet access.
    I would like to create an Ad-Hoc Network with my MacBook to use the iPads WiFi.
    I was able to create the Ad-Hoc Network via the Internet-Sharing in the MacBook Settings, but as soon as I switch on the Sharing, neither the MacBook Internet nor the iPad Internet are working (I also tried it with my not jailbroken iPhone 3GS, same result). When I switch off the WiFi from my MacBook, at least I can use the Internet via cable.
    Is it possible that the Internet is not strong enough to use it with 2 devices. I forgot my MacBook charger, does this maybe a reason that it is not working, because the MacBook doesn't have enough power?
    What else can be a reason.
    I heard it should be quiet easy to create an Ad-Hoc connection, but now I wonder why it is not working.
    I would appreaciate any help.
    If you need more information, please let me know.
    Thank you in advance.

    But this doesn't mention at all how to connect iphones, ipods and ipads.
    Your original post didn't mention those. But now it sounds like your wireless access point is down. That's a separate issue. Unless you have a specific need for an ad-hoc network, I suggest you fix your WAP and connect all the devices to it.

  • Automatic creation of ad hoc network

    I regularly have to facilitate workshops using Keynote slides.  I use Keynote Remote to control the presentation which requires the creation of an ad hoc network that is password protected.
    My procedure for this starts with the MBP where in the Finder menu bar I select the Airport Menu then Create Network… and fill in the text in the dialog box.  Then turn on WiFi on the iPad and locate this network and join it using the password.
    I tend to set the same name for my ad hoc network (showtime) and five digit WEP password which means that the iPad just locates and logs on automatically.
    Now I want to automate the setup side as I want to reduce my set up time (and stress) when getting ready for a workshop (it's bad enough having to deal with strange data projectors and hard wired AV facilities) or when returning from a lunch break when I tend to take my MBP and iPad with me for security reasons.
    I have found that Location services in the network pane of System Preferences completely lacking as it does not retain details of ad hoc networks users may create.
    Anyone know of a good third party application that would automate this?  Or a good Apple Script for Mac OSX 10.6.7 that would do it?

    I'd forget about administering administrators, and framework-level activities here, and go down a level.
    Here's a built-in low-level monitor for local networks:
    /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -s
    You'll typically see the MAC addresses, names and channels involved.  Polling that data could probably be scripted to broadcast a notification from a local (trusted) client, too.  Roll that up with generic MAC data collection and you can probably identify the client device involved.  (Until the gremlins discover MAC spoofing.)
    The usual (technical) response to detecting and preventing these networks is not via client settings — phones can do ad-hoc these days, after all — but rather via tools that can explicitly detect rogue access points (APs) and such; an old intro and some Cisco Radio Monitoring details. 
    Some APs can send disassociate packets into rogue network, though that's a solution and an approach that I'd view rather skeptically, and would want clear and explicit administrative and legal buy-in before deploying anything like that.  Same for collecting and saving MAC data and locality data; that can potentially be personally-identifying data.  Remember also to account for the possibility of MAC spoofing when forming any administrative or disciplinary policies here, too.

  • Which Airprint enabled HP-Printers support ad hoc network?

    I want to buy a printer/scanner for my mother who uses an iPad 2 with 3G-connection. She doesn't have Wifi. Now there are several printers which support ad hoc network so that the Ipad could directly connect to the printer and print through Airprint.
    First I thought about the Photosmart 5510 or 5515, but i read here in the forum that the 5510 doesn't support ad hoc network.
    Can someone please tell me which printers i could use for printing through Airprint and an ad hoc network? Will scanning directly to the Ipad also work?
    Thanks a lot and best regards, O.
    PS. Meanwhile I found the term "HP wireless direct" which seems to stand in for an ad hoc network. Unfortunately I haven't found any list of printers which support HP wireless direct.
    This question was solved.
    View Solution.

    LearningAdHoc,
    I am going to speak from the prospective of the m251 laserjet printer with regards to wireless direct. If you are looking at this printer's control panel and turn wireless direct on, then  your iOS device will detect it. You can even go into your Embedded Web Server (EWS) and change your wireless direct and Bonjour name if you would like to make it more recognizable or have more than one printer your would like to have on the network. Once you have done have turned on the wireless direct from your control panel, you go into your setting on your iOS device, wi-fi > choose a network > and choose the printer (caveat - the "spinning wheel" will keep turning, just ignore it).  Go back to your setting main menu and you should see that your printer has been choose as the access point. You can then go into your photos, safari, etc and print from them by choose the action button and when the menu comes up choose print > select your print (should already be selected).
    The wireless direct connection and the cellular internet connection can be used at the same time but a word of caution....if you have a wi fi network setup, you will have to jump between the 2 to print....make sense?
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution

  • Using Airport Express to set up an ad hoc network for presentations

    I have to give a presentation where I will both need my MacBook Pro and iPad. I may or may not have a wireless network available (will depend on location). Is there a way that I can use an Airport Express to set up an ad hoc network and use an Apple TV for AirPlay from my iPad and laptop?

    Easy to do. Just set up the AirPort Express to "Create a wireless network".
    When you see the "error" message(s) that there is not an Ethernet cable plugged into the WAN port and/or no Internet connection, click "ignore" and you will have a green light on the Express.
    Wireless devices will connect to the network by selecting it and entering the password.

  • Scan for and connect to networks from an openbox pipe menu (netcfg)

    So the other day when i was using wifi-select (awesome tool) to connect to a friends hot-spot, i realized "hey! this would be great as an openbox pipe menu."  i'm fairly decent in bash and i knew both netcfg and wifi-select were in bash so why not rewrite it that way?
    Wifi-Pipe
    A simplified version of wifi-select which will scan for networks and populate an openbox right-click menu item with available networks.  displays security type and signal strength.  click on a network to connect via netcfg the same way wifi-select does it.
    zenity is used to ask for a password and notify of a bad connection.  one can optionally remove the netcfg profile if the connection fails.
    What's needed
    -- you have to be using netcfg to manage your wireless
    -- you have to install zenity
    -- you have to save the script as ~/.config/openbox/wifi-pipe and make it executable:
    chmod +x ~/.config/openbox/wifi-pipe
    -- you have to add a sudoers entry to allow passwordless sudo on this script and netcfg (!)
    USERNAME ALL=(ALL) NOPASSWD: /usr/bin/netcfg
    USERNAME ALL=(ALL) NOPASSWD: /home/USERNAME/.config/openbox/wifi-pipe
    -- you have to adjust  ~/.config/openbox/menu.xml like so:
    <menu id="root-menu" label="Openbox 3">
    <menu id="pipe-wifi" label="Wifi" execute="sudo /home/USERNAME/.config/openbox/wifi-pipe INTERFACE" />
    <menu id="term-menu"/>
    <item label="Run...">
    <action name="Execute">
    <command>gmrun</command>
    </action>
    </item>
    where USERNAME is you and INTERFACE is probably wlan0 or similar
    openbox --reconfigure and you should be good to go.
    The script
    #!/bin/bash
    # pbrisbin 2009
    # simplified version of wifi-select designed to output as an openbox pipe menu
    # required:
    # netcfg
    # zenity
    # NOPASSWD entries for this and netcfg through visudo
    # the following in menu.xml:
    # <menu id="pipe-wifi" label="Wifi" execute="sudo /path/to/wifi.pipe interface"/>
    # the idea is to run this script once to scan/print, then again immediately to connect.
    # therefore, if you scan but don't connect, a temp file is left in /tmp. the next scan
    # will overwrite it, and the next connect will remove it.
    # source this just to get PROFILE_DIR
    . /usr/lib/network/network
    [ -z "$PROFILE_DIR" ] && PROFILE_DIR='/etc/network.d/'
    # awk code for parsing iwlist output
    # putting it here removes the wifi-select dependency
    # and allows for my own tweaking
    # prints a list "essid=security=quality_as_percentage"
    PARSER='
    BEGIN { FS=":"; OFS="="; }
    /\<Cell/ { if (essid) print essid, security, quality[2]/quality[3]*100; security="none" }
    /\<ESSID:/ { essid=substr($2, 2, length($2) - 2) } # discard quotes
    /\<Quality=/ { split($1, quality, "[=/]") }
    /\<Encryption key:on/ { security="wep" }
    /\<IE:.*WPA.*/ { security="wpa" }
    END { if (essid) print essid, security, quality[2]/quality[3]*100 }
    errorout() {
    echo "<openbox_pipe_menu>"
    echo "<item label=\"$1\" />"
    echo "</openbox_pipe_menu>"
    exit 1
    create_profile() {
    ESSID="$1"; INTERFACE="$2"; SECURITY="$3"; KEY="$4"
    PROFILE_FILE="$PROFILE_DIR$ESSID"
    cat > "$PROFILE_FILE" << END_OF_PROFILE
    CONNECTION="wireless"
    ESSID="$ESSID"
    INTERFACE="$INTERFACE"
    DESCRIPTION="Automatically generated profile"
    SCAN="yes"
    IP="dhcp"
    TIMEOUT="10"
    SECURITY="$SECURITY"
    END_OF_PROFILE
    # i think wifi-select should adopt these perms too...
    if [ -n "$KEY" ]; then
    echo "KEY=\"$KEY\"" >> "$PROFILE_FILE"
    chmod 600 "$PROFILE_FILE"
    else
    chmod 644 "$PROFILE_FILE"
    fi
    print_menu() {
    # scan for networks
    iwlist $INTERFACE scan 2>/dev/null | awk "$PARSER" | sort -t= -nrk3 > /tmp/networks.tmp
    # exit if none found
    if [ ! -s /tmp/networks.tmp ]; then
    rm /tmp/networks.tmp
    errorout "no networks found."
    fi
    # otherwise print the menu
    local IFS='='
    echo "<openbox_pipe_menu>"
    while read ESSID SECURITY QUALITY; do
    echo "<item label=\"$ESSID ($SECURITY) ${QUALITY/.*/}%\">" # trim decimals
    echo " <action name=\"Execute\">"
    echo " <command>sudo $0 $INTERFACE connect \"$ESSID\"</command>"
    echo " </action>"
    echo "</item>"
    done < /tmp/networks.tmp
    echo "</openbox_pipe_menu>"
    connect() {
    # check for an existing profile
    PROFILE_FILE="$(grep -REl "ESSID=[\"']?$ESSID[\"']?" "$PROFILE_DIR" | grep -v '~$' | head -n1)"
    # if found use it, else create a new profile
    if [ -n "$PROFILE_FILE" ]; then
    PROFILE=$(basename "$PROFILE_FILE")
    else
    PROFILE="$ESSID"
    SECURITY="$(awk -F '=' "/$ESSID/"'{print $2}' /tmp/networks.tmp | head -n1)"
    # ask for the security key if needed
    if [ "$SECURITY" != "none" ]; then
    KEY="$(zenity --entry --title="Authentication" --text="Please enter $SECURITY key for $ESSID" --hide-text)"
    fi
    # create the new profile
    create_profile "$ESSID" "$INTERFACE" "$SECURITY" "$KEY"
    fi
    # connect
    netcfg2 "$PROFILE" >/tmp/output.tmp
    # if failed, ask about removal of created profile
    if [ $? -ne 0 ]; then
    zenity --question \
    --title="Connection failed" \
    --text="$(grep -Eo "[\-\>]\ .*$" /tmp/output.tmp) \n Remove $PROFILE_FILE?" \
    --ok-label="Remove profile"
    [ $? -eq 0 ] && rm $PROFILE_FILE
    fi
    rm /tmp/output.tmp
    rm /tmp/networks.tmp
    [ $(id -u) -ne 0 ] && errorout "root access required."
    [ -z "$1" ] && errorout "usage: $0 [interface]"
    INTERFACE="$1"; shift
    # i added a sleep if we need to explicitly bring it up
    # b/c youll get "no networks found" when you scan right away
    # this only happens if we aren't up already
    if ! ifconfig | grep -q $INTERFACE; then
    ifconfig $INTERFACE up &>/dev/null || errorout "$INTERFACE not up"
    while ! ifconfig | grep -q $INTERFACE; do sleep 1; done
    fi
    if [ "$1" = "connect" ]; then
    ESSID="$2"
    connect
    else
    print_menu
    fi
    Screenshots
    removed -- Hi-res shots available on my site
    NOTE - i have not tested this extensively but it was working for me in most cases.  any updates/fixes will be edited right into this original post.  enjoy!
    UPDATE - 10/24/2009: i moved the awk statement from wifi-select directly into the script.  this did two things: wifi-select is no longer needed on the system, and i could tweak the awk statement to be more accurate.  it now prints a true percentange.  iwlist prints something like Quality=17/70 and the original awk statement would just output 17 as the quality.  i changed to print (17/70)*100 then bash trims the decimals so you get a true percentage.
    Last edited by brisbin33 (2010-05-09 01:28:20)

    froli wrote:
    I think the script's not working ... When I type
    sh wifi-pipe
    in a term it returns nothing
    well, just to be sure you're doing it right...
    he above is only an adjustment to the OB script's print_menu() function, it's not an entire script to itself.  so, if the original OB script shows output for you with
    sh ./wifi-pipe
    then using the above pint_menu() function (with all the other supporting code) should also show output, (only really only changes the echo's so they print the info in the pekwm format).
    oh, and if neither version shows output when you rut it in a term, then you've got other issues... ;P
    here's an entire [untested] pekwm script:
    #!/bin/bash
    # pbrisbin 2009
    # simplified version of wifi-select designed to output as an pekwm pipe menu
    # required:
    # netcfg
    # zenity
    # NOPASSWD entries for this and netcfg through visudo
    # the following in pekwm config file:
    # SubMenu = "WiFi" {
    # Entry = { Actions = "Dynamic /path/to/wifi-pipe" }
    # the idea is to run this script once to scan/print, then again immediately to connect.
    # therefore, if you scan but don't connect, a temp file is left in /tmp. the next scan
    # will overwrite it, and the next connect will remove it.
    # source this to get PROFILE_DIR and SUBR_DIR
    . /usr/lib/network/network
    errorout() {
    echo "Dynamic {"
    echo " Entry = \"$1\""
    echo "}"
    exit 1
    create_profile() {
    ESSID="$1"; INTERFACE="$2"; SECURITY="$3"; KEY="$4"
    PROFILE_FILE="$PROFILE_DIR$ESSID"
    cat > "$PROFILE_FILE" << END_OF_PROFILE
    CONNECTION="wireless"
    ESSID="$ESSID"
    INTERFACE="$INTERFACE"
    DESCRIPTION="Automatically generated profile"
    SCAN="yes"
    IP="dhcp"
    TIMEOUT="10"
    SECURITY="$SECURITY"
    END_OF_PROFILE
    # i think wifi-select should adopt these perms too...
    if [ -n "$KEY" ]; then
    echo "KEY=\"$KEY\"" >> "$PROFILE_FILE"
    chmod 600 "$PROFILE_FILE"
    else
    chmod 644 "$PROFILE_FILE"
    fi
    print_menu() {
    # scan for networks
    iwlist $INTERFACE scan 2>/dev/null | awk -f $SUBR_DIR/parse-iwlist.awk | sort -t= -nrk3 > /tmp/networks.tmp
    # exit if none found
    if [ ! -s /tmp/networks.tmp ]; then
    rm /tmp/networks.tmp
    errorout "no networks found."
    fi
    # otherwise print the menu
    echo "Dynamic {"
    IFS='='
    cat /tmp/networks.tmp | while read ESSID SECURITY QUALITY; do
    echo "Entry = \"$ESSID ($SECURITY) $QUALITY%\" {"
    echo " Actions = \"Exec sudo $0 $INTERFACE connect \\\"$ESSID\\\"\"</command>"
    echo "}"
    done
    unset IFS
    echo "}"
    connect() {
    # check for an existing profile
    PROFILE_FILE="$(grep -REl "ESSID=[\"']?$ESSID[\"']?" "$PROFILE_DIR" | grep -v '~$' | head -n1)"
    # if found use it, else create a new profile
    if [ -n "$PROFILE_FILE" ]; then
    PROFILE=$(basename "$PROFILE_FILE")
    else
    PROFILE="$ESSID"
    SECURITY="$(awk -F '=' "/$ESSID/"'{print $2}' /tmp/networks.tmp | head -n1)"
    # ask for the security key if needed
    if [ "$SECURITY" != "none" ]; then
    KEY="$(zenity --entry --title="Authentication" --text="Please enter $SECURITY key for $ESSID" --hide-text)"
    fi
    # create the new profile
    create_profile "$ESSID" "$INTERFACE" "$SECURITY" "$KEY"
    fi
    # connect
    netcfg2 "$PROFILE" >/tmp/output.tmp
    # if failed, ask about removal of created profile
    if [ $? -ne 0 ]; then
    zenity --question \
    --title="Connection failed" \
    --text="$(grep -Eo "[\-\>]\ .*$" /tmp/output.tmp) \n Remove $PROFILE_FILE?" \
    --ok-label="Remove profile"
    [ $? -eq 0 ] && rm $PROFILE_FILE
    fi
    rm /tmp/output.tmp
    rm /tmp/networks.tmp
    [ $(id -u) -ne 0 ] && errorout "root access required."
    [ -z "$1" ] && errorout "usage: $0 [interface]"
    INTERFACE="$1"; shift
    # i added a sleep if we need to explicitly bring it up
    # b/c youll get "no networks found" when you scan right away
    # this only happens if we aren't up already
    if ! ifconfig | grep -q $INTERFACE; then
    ifconfig $INTERFACE up &>/dev/null || errorout "$INTERFACE not up"
    sleep 3
    fi
    if [ "$1" = "connect" ]; then
    ESSID="$2"
    connect
    else
    print_menu
    fi
    exit 0

  • Creating ad-hoc network for iTouch in XP

    Has anyone been able to sucessfully create an ad-hoc network within Windows XP and get there iPod touch online with it? (***** that you can't import certificates on the iTouch yet...)

    Ok, a few points.
    1) I'm not sure if you are using just your laptop and the iPod. If so you will need another computer to keep the network alive. If you don't add another computer the network will stay alive for a short period of time which will allow you to at least use it for a little while.
    2) Do you have Internet connection sharing enabled in windows? Go to Control Panel -> Network Connections -> Right click your Internet connection -> Click the 'Advanced' Tab up top -> And check the box 'Allow other users to connect through this computer's Internet connection'
    3) If you have done the above or are sure your internet connection is being shared ie. Another device (other than the device directly connected to the Internet) on the network can use the Internet. Ensure that the computer connected directly to the Internet has the IP address 192.168.0.1
    To check this go to Control Panel -> Network Connections -> Right click your WIRELESS network connection.
    In the area below "This connection uses the following items:" scroll down to "Internet Protocol (TCP/IP)", select it and hit properties.
    Ensure "Obtain an IP address automatically" is NOT checked. Enter the IP address 192.168.0.1 if it is not already entered. Subnet mask should be 255.255.255.0.
    Once you have done this.
    On your iPod Touch go to Settings -> Wi-Fi -> Whatever your network is called (tap the blue arrow next to this)
    Under IP Address click "Static"
    Enter and IP Address not used on your network. eg. "192.168.0.2" DON'T USE "192.168.0.1" as we just used it for the computer connected to the Internet!
    Subnet mask is "255.255.255.0"
    Router is "192.168.0.1" - Yes I know you don't have a router but the computer connecting to the Internet is acting as one. If you wish you can also enter DNS as "192.168.0.1". I have but it shouldn't really have any impact.
    You're Internet should now work assuming you don't have a proxy enabled, which I seriously doubt you would. If you do then enable HTTP Proxy below where you just entered your IP address and enter your proxy username and password.
    Everything should work now.
    Message was edited by: Boredom_inc
    - Spelling mistake.

  • Ad hoc network for Airplay Mirroring

    Can you create an ad hoc network between an Apple TV and a MacbookPro to use air play mirroring? It would be useful when there is no available wireless network?

    Hey, thanks for reading my problem!
    The vista PC has the internet in to it... cable modem with ethernet wire to NIC.
    Auto addressing through virgin media.
    Same PC with a second nic with manual addressing.
    192.168.0.1
    submask 255.255.255.0
    I also manually put the dns server address in here from virgin.
    This nic connects to my 1gb hub.
    laptop using win XP connects to this hub using nic and wire using a manual address
    192.168.0.2
    submask 255.255.255.0
    gateway 192.168.0.1 (vista pc nic address)
    dns set as to what virgin media is showing
    same laptop built in wireless.
    192.168.0.3
    submask 255.255.255.0
    default gateway 192.168.0.1 (vista pc nic address)
    i have tried setting the dns and allowing it to be auto but neither makes a difference.
    create ad hoc connection on the laptop
    shared authentication
    WEP encryption with network key i typed in
    key index = 1
    advanced setting computer - computer ad hoc network only.
    Does this sound about right?
    If i'm totally off then feel free to laugh LOL!
    i then set my touch manually
    ip address 192.168.0.4
    submask 255.255.255.0
    router 192.168.0.1 (vista gateway ip address)
    is this wrong?
    Just to clarify, I do not have a router... it's a cable modem connected via a wire to my hub which is a stand alone hub that has no features. The only wireless thing i have is my built in laptop wireless chip that i created the ad hoc connection with.
    Message was edited by: Picos

  • Ad hoc network for ipod touch

    I know there's several posts about this but non are specific to my setup so I though I would create my own thread.
    My setup
    I have a pc running vista 32 bit and I use this as my server. My internet connection goes through this pc and i shared amonst 3 other pcs. This pc has 2 NIC's, 1 for the internet/modem and is shared, the other to connect to my 1gb hub. I do not have a router, I have the net shared through the server pc then on to a hub which the other pcs are connected too. I have assigned static ips to the network computers and all manage to get on the net.
    My laptop (win XP Pro) which is one of the computers connected to this hub also has built in wireless and I would like to know how I can use this wireless feature to get my ipod touch online as well.
    The laptop is on the net using the NIC and everything is fine. For the wireless connection I setup an ad hoc connection and it's showing up in the wireless network connections in XP on the same laptop so that's running correctly. My ipod finds this wifi and does connect, however i can not browse the net using it. It keeps saying Safari can not find the server.
    server pc wired - ip 192.168.0.1
    laptop wired - ip 192.168.0.2
    laptop wireless - ip 192.168.0.3
    I have tried the following settings in my ipod wifi settings.
    ip 192.168.0.4
    subnet mask 255.255.255.0
    router 192.168.0.1
    The wifi symbol shows up in the top left of the ipod but again it just won't connect to the internet. IS my network too complicated or not how things should be setup? I know ad hoc works but perhaps i'm not doing it right.
    Any help would be great. Thanks!
    Message was edited by: Picos

    Hey, thanks for reading my problem!
    The vista PC has the internet in to it... cable modem with ethernet wire to NIC.
    Auto addressing through virgin media.
    Same PC with a second nic with manual addressing.
    192.168.0.1
    submask 255.255.255.0
    I also manually put the dns server address in here from virgin.
    This nic connects to my 1gb hub.
    laptop using win XP connects to this hub using nic and wire using a manual address
    192.168.0.2
    submask 255.255.255.0
    gateway 192.168.0.1 (vista pc nic address)
    dns set as to what virgin media is showing
    same laptop built in wireless.
    192.168.0.3
    submask 255.255.255.0
    default gateway 192.168.0.1 (vista pc nic address)
    i have tried setting the dns and allowing it to be auto but neither makes a difference.
    create ad hoc connection on the laptop
    shared authentication
    WEP encryption with network key i typed in
    key index = 1
    advanced setting computer - computer ad hoc network only.
    Does this sound about right?
    If i'm totally off then feel free to laugh LOL!
    i then set my touch manually
    ip address 192.168.0.4
    submask 255.255.255.0
    router 192.168.0.1 (vista gateway ip address)
    is this wrong?
    Just to clarify, I do not have a router... it's a cable modem connected via a wire to my hub which is a stand alone hub that has no features. The only wireless thing i have is my built in laptop wireless chip that i created the ad hoc connection with.
    Message was edited by: Picos

  • I have recently unlocked my iPhone 4. I got the comforation saying it was unlocked. For some reason I cannot access my network settings? Any suggestions. I am trying to use the phone on Net 10 network.

    I recently unlocked my iphone 4. I am trying to use it on Net 10's network. However, i cannot access the network settings. I have the Net10 Sim already in it. A few notes listed below of what i have tried:
    1.) I downloaded the iphone configuation utility. But  cannot get the right settings to apply. (so if you have the correct ones i could use those)
    2.) i have watched 1000 youtube videos and been on practically every page online and tried 1000 different versions of APN settings through the configuration
    3.) I do not have another SIM card from another carrier to try.
    Open to suggestions on how i can get the APN settings to change. Not worried about picture messaging or anything, but would like my internet to work. Calls and text work fine.

    i have seen this option..problem being...i dont have access to WIFI i live in the middle of ten buck too! We cant even get internet out here i have to go a friend house to get internet. I was going to try that once i did get to town but was looking for other options here at home frist.

  • I have an IMAC that runs OS 10.6.7.  I use Netgear for wireless. My computer keeps losing the network, so I can't use wireless.

    I have an IMAC that runs OX 10.6.7. I use NEtgear for wireless. I have a laptop and Ipod that I use on the wireless. Recently, my desktop computer shows that it is searching for the wireless system (on the router). I contacted Netgear. They talked me into buying another router and their technical contract. Nothing is working. I can plug my  5200 modem directly up to my desktop , and the  network is fine, but the wireless, of course, is not plugged in. When I go to connect the wireless, it doesn't work. This is not a computer program per se, nor is it a router program because sometimes it will work. It seems to me that the computer and router are not working together to hold the settings.
    I have attempted to download the latest software for my computer, i.e., Imac graphics fireware. Each time I try, it says that the extensions are not valid for my computer.
    Any suggestions?
    Thanks, Vicki

    Imac graphics fireware.
    Did you mean to say firmware? You should only install firmware updates when offered to you via Software Update; other than that, whatever is offered is not appropriate for your model.
    As for your Netgear router - I have a Netgear and set it up manually on their web interface setup site (the address should be in your manual). Did you call your ISP so they will recognize that there is a router involved? Sometimes my iMac also does not want to communicate with the router; however, my Macbook and printer have no problem. I solved the problem by connecting things this way:
    cable from wall to modem > cable from modem to router > cable from router to iMac. The other things are wireless.

  • I have an Airport Extreme as my router and am using time capsule to extend the network in my new house. My ISP is only providing me 4-5 ip addresses and wants me to set up my router to issue out new ip addresses for all my devices.How do I fix this?Help

    I have an Airport Extreme as my router and am using time capsule to extend the network in my new house. My ISP is only providing me 4-5 ip addresses and wants me to set up my router to issue out new ip addresses for all my devices.How do I fix this?Help.
    They said I need to change my settings to NAT settings. I haven't been able to figure out or find anything. I have also spoken to Apple Support on the phone for hours without being able to figure out how to do this ( i don't think he knew much either lol.) Please help me because I've got about 15-20 devices in my house that require to be connected to the internet and this is just making things ridiculously slow and painful for me.
    Thanks!

    It is on DHCP & NAT under router mode yet my isp is still the one issuing ip addresses to my devices instead of the router issuing them

  • MacAir using AD for authentication. In AD, there is a network home assigned to that user. When logging into that account on the Mac, it takes 1-2 minutes after entering credentials, before displaying an error that it could not connect to it, every time.

    In our AD, all users have a network home that is set (smb://home for example). For some of our Mac users using AD for authentication, there is a 1-2 minute delay between entering their credentials and the OS being presented. The OS does not present itself until the user dismisses the alert: "There was a problem connecting to server home".Local users on the same machines do not have that problem.
    It remains in the dock as User's Network Home as a ? that I am unable to remove, and there is also a 'Unknown' in the log-in items for the user as well (that I am also unable to remove).
    Is there anyway to disable this share? Or to stop the Mac from trying to connect to it before loading the OS?

    In our AD, all users have a network home that is set (smb://home for example). For some of our Mac users using AD for authentication, there is a 1-2 minute delay between entering their credentials and the OS being presented. The OS does not present itself until the user dismisses the alert: "There was a problem connecting to server home".Local users on the same machines do not have that problem.
    It remains in the dock as User's Network Home as a ? that I am unable to remove, and there is also a 'Unknown' in the log-in items for the user as well (that I am also unable to remove).
    Is there anyway to disable this share? Or to stop the Mac from trying to connect to it before loading the OS?

Maybe you are looking for

  • I got locked out of my iphone 4 and the only laptop I synced it to is gone, how do I unlock it now?

    I changed my password when i was half asleep, now i dont remember it, and it said i have to connect to itunes. BUUTT the only device i synced/back-up/started the iphone on was my brother's laptop, but it's sadly gone. NOW im trying to restore it on a

  • Slideshow background color

    Can I change the background color (from black) for a slideshow created in iPhoto '11 ? Just want to make sure I'm not missing something before I purchase Aperture (where that option is available). Thanks

  • Why am I seeing a black frame with a big "X" through it

    I am sure I have not had this problem before. But today when I tried to import a video file into AE (CS5 Windows), and added it to a new composition, the result in the composition was this big black frame with an "X" in it -- and it is also not the a

  • Oracle Lite's Support

    What are the mobile phone models supported by "Oracle Lite 10gr3 for Symbian"? Is Nokia 6600 supported? Thanks in Anticipation....

  • CFLAYOUT TAB - CFLAYOUTAREA with CFSCRIPT

    The first and last TABS have the appropriate TEXT displaying. The three tabs in between show the TAB but the TEXT is gone. Very strange. Has anyone tried this and found a work around. We have not been able to find any technical reference regarding us