Netcfg - no connection, interface without devices connected

I have two interfaces eth0, eth1
eth0 (DHCP) - connect to router, provide internet
eth1 (STATIC IP) - connect with print server in my printer
- I expect interface should up without need to have powered on device connected to it
Everything worked fine, when interfaces were configured with /etc/rc.conf.
Now I configured network with netcfg and:
eth0 - up and everything ok
eth1 - no starts up, when no device is connected (powered off device connected) to this ethernet card
log:
# NETCFG_DEBUG="yes" netcfg eth1-static
DEBUG: Loading profile eth1-static
DEBUG: Configuring interface eth1
:: eth1-static up [BUSY] DEBUG: status reported to profile_up as:
DEBUG: Loading profile eth1-static
DEBUG: Configuring interface eth1
DEBUG: ethernet_iproute_up ifup
> No connection
DEBUG: profile_up connect failed
but when printer is powered on, interface starts up:
# netcfg eth1-static
:: eth1-static up [DONE]
network profile content
# cat /etc/network.d/eth1-static
CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth1'
IP='static'
ADDR='192.168.0.1'
Am I missing some setting? Maybe I should disable/enable something in profile?
Things to reproduce:
1. two ethernet cards
2. first connected network and second  connected to switched off device, or not connected
3. configure 2 netcfg profiles (first - dhcp, second -static ip)
4. the second interface will fail to start up
Last edited by ostanislaw (2011-06-18 10:31:12)

Now I configured second interface - eth1 the old way in /etc/rc.conf:
eth1="eth1 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255 mtu 1492"
INTERFACES=(eth1)
While eth0 is configured by netcfg profile.
Both interfaces works. But my problem is not solved, because both interface should be configured in netcfg.
I think netcfg check if network is available and doesn't start eth1 interface, while device configured the old way in /etc/rc.conf doesn't perform this check. There should be option to disable it in netcfg profile.
Last edited by ostanislaw (2011-06-18 10:44:18)

Similar Messages

  • All audio crackling through any device connected to iPhone 4 - audio fine without device connected

    I have an iPhone 4 and every time I plug in a set of headphones or attempt to connect the car cable to the iphone it does not play correctly. All audio that I attempt to play through either headphones or the car jack cracklings very badly, and the sounds I play are unrecognizable. The headphones are not broken they work with my computer. The jack is not broken it works with other iphones. It makes no sense at all, I had this problem a week ago, it resolved itself, and now once again I can not play audio from my iPhone other than with its native speakers.
    Why would any device connected to the iPhone cause it to crackle and his and become unplayable? Like I said, it works fine without headphones or a car jack. Once I try to connect a device it malfunctions terrible and starts crackling before I even attempt to play audio
    Just upgraded to 6.1.3, it did not fix it.
    PLEASE HELP

    Hi
    Just to update for the last time. I have realised that if the bluetooth is paired to the car the music sound either does not play or plays for around a minute then cuts out. This still happens even if I disconnect the bluetooth connection. However if I delete the phone completely out at the car and cancel the pairing, the music plays fine no issues.
    I guess somehow it is therefore based around the bluetooth. I have checked all menus I can find on the car and the phone to make sure there is no setting wrong somewhere. I cannot understand why it plays for a short time and then stops, seems like an intermittant fault ???
    Thanks
    Michael.

  • Telstra Staff Connect Plan without Device

    I have recently joined Telstra and I am trying to apply for Telstra Staff Connect Plan but I do not need a new device right now. The Telstra online store portal doesn't allow to apply without selecting a device. Is there a way to apply for casual staff connect plan without selecting a device?

    Hello Michel,We are not Telstra staff here, only the moderators are.We have had this question before, and I believe your manager has to approve some paperwork.I imagine it also depends if you have received this previously or is this a new contract?You can confirm this by using the 24/7 Live Chat, and the link is below.https://livechat.telstra.com/TCOM:Crowdsupport​:ConsumerHope this assists

  • How can I resolve the issues connecting to my wireless connection with my Apple tv?

         Ive had my Apple tv for about a month now & I still have not even used it for what I actually got it for. It allows me to use the airplay feature with my ipad2. But when I try to use the home sharing feature it never connects with my apple ID. At first I thought that maybe I'm just typing it the wrong way, but then I used the same ID and password to purchase an app on my iphone & it works. It's not my wireless connection because multiple devices connect to it just fine, without any issues. I tried reseting it, that obviously didnt work. I really just dont know what else to do.

    you can't rely on airplay mirror some apps support the old in app airtune audio only option if the video app in question does you can do it from the apps settings somehow
    if not then you need a airport express which does pretty much what airplay mirror on the Apple TV does but it's a audio only

  • [SOLVED] Bring up ethernet interface without connection

    I have two ethernet interfaces in my computer. eth0 connects to the router for the internet, I'm not concerned about that. eth1 I use sometimes to plug a laptop into, and sometimes a MS Windows games PC. Most of the time I don't use it, and there's nothing plugged into it.
    I have
    NETWORKS=(eth0 eth1)
    in rc.conf, and this in /etc/network.d/eth1:
    CONNECTION='ethernet'
    DESCRIPTION='Internal network'
    INTERFACE='eth1'
    IP='static'
    ADDR='192.168.1.1'
    At first boot, there's usually nothing plugged in to eth1, so the 'eth1' profile fails to start:
    > sudo netcfg eth1
    :: eth1 up [BUSY] > No connection
    [FAIL]
    > ip addr show eth1
    3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:1b:ee:00:fe:d6 brd ff:ff:ff:ff:ff:ff
    Why won't it start up eth1? I want it to give eth1 the IP of 192.168.1.1, even though there's no cable in it. This causes a problem when, after starting the main PC, I plug in a cable to eth1 and start a device (eg. laptop). I have to plug it in, start up the device (which is set to get a DHCP IP from my computer), manually start up eth1 on the PC, then rerun the connect command from the device.
    Last edited by Smarthound (2012-04-26 22:34:54)

    When I start ifplugd:
    Apr 26 22:38:23 localhost ifplugd(eth1)[1268]: ifplugd 0.28 initializing.
    Apr 26 22:38:23 localhost ifplugd(eth1)[1268]: Using interface eth1/00:1B:EE:00:FE:D6 with driver <r8169> (version: 2.3LK-NAPI)
    Apr 26 22:38:23 localhost ifplugd(eth1)[1268]: Using detection mode: SIOCETHTOOL
    Apr 26 22:38:23 localhost ifplugd(eth1)[1268]: Initialization complete, link beat not detected.
    So far, so good, but when I plug a cable into eth1, the link is detected, waits a few seconds, then fails:
    Apr 26 22:43:17 localhost ifplugd(eth1)[4946]: Link beat detected.
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: Executing '/etc/ifplugd/ifplugd.action eth1 up'.
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: Warning: Your network settings are deprecated.
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: Please refer to /etc/rc.conf on how to define a single wired
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: connection, or use a utility such as netcfg.
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: up: error fetching interface information: Device not found
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: inet 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: ether 00:1b:4d:4e:c3:d7 txqueuelen 1000 (Ethernet)
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: RX packets 2942 bytes 1534429 (1.4 MiB)
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: RX errors 0 dropped 0 overruns 0 frame 0
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: TX packets 2870 bytes 600353 (586.2 KiB)
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: device interrupt 44 base 0xc000
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: ether 00:1b:ee:00:fe:d6 txqueuelen 1000 (Ethernet)
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: RX packets 2 bytes 736 (736.0 B)
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: RX errors 0 dropped 0 overruns 0 frame 0
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: TX packets 0 bytes 0 (0.0 B)
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: device interrupt 19 base 0xe000
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 metric 1
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: inet 127.0.0.1 netmask 255.0.0.0
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: loop txqueuelen 0 (Local Loopback)
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: RX packets 2497 bytes 1134472 (1.0 MiB)
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: RX errors 0 dropped 0 overruns 0 frame 0
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: TX packets 2497 bytes 1134472 (1.0 MiB)
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If]
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: [netmask N] [mss Mss] [window W] [irtt I]
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: [mod] [dyn] [reinstate] [[dev] If]
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] reject
    Apr 26 22:43:18 localhost ifplugd(eth1)[4946]: client: inet_route [-FC] flush NOT supported
    Apr 26 22:43:27 localhost ifplugd(eth1)[4946]: Program execution failed, return value is 1.
    Do you think it's failing because it's issuing a bad route command? Is my /etc/network.d/eth1 correct (see initial post)?

  • Is there an adaptor or interface that will allow me to connect a thunderbolt device to my late 2011 Mac Pro Firewire 800 port?

    Is there an adaptor or interface that will allow me to connect a thunderbolt device to my late 2011 Mac Pro Firewire 800 port?

    lllaass is correct.
    To use ThunderBolt devices, a computer must have left the factory with a ThunderBolt port.
    There are no known work-arounds, and there are not likely to be any because Intel controls the chips and is not interested in anything less than the full [including Video features] implementation.

  • How can we find the hostname of the devices connected with the interfaces of switch?

    how can we find the hostname of the devices connected with the interfaces of switch ? I have tried mac address and ARP, there are lot of servers connected with the switch having multiples LAN cards. So mac table shows the mac of physical machine as well as virtual machines. But i want to know only the physical machines. Is there any other method to find out the IP address, hostname of the physical machines only? 

    Hello Leo Laohoo
    Thanks for this information
    In our network most of the Servers are not of Cisco. Some of them are Vmware machines, some are Hyper V machines, etc. 
    Does IP device tracking show us only the IP addresses of the Physical Machines of the Vmware Server not of Virtual Machines?
    Regards
    Mukesh Kumar
    Network Engineer 
    Spooster IT Services

  • I have all my devices connected to iCloud.  I would like a reduced contact list on my iPhone without removing any from my master list on my computer.  How do I delete contact numbers from my phone without disrupting the master list on my computer?

    I have all my devices connected to iCloud.  I would like a reduced contact list on my iPhone without removing any from my master list on my computer.  How do I delete contact numbers from my iphone without disrupting the master list on my computer?

    Are you trying to reduce the visual clutter on the phone, save space on the phone, or limit the security exposure if your phone is stolen?
    If you are only wanting to reduce the visual clutter and make scrolling through the list faster, you could set up a group on the computer containing only the contacts you want to see on my phone (called, for example, "Show on my Phone") and enable only that group inside Contacts on the phone. You might even have one or more existing groups that you could enable that way (maybe "Family" and "Personal").

  • Why can't there be a simple utility that shows me which device connected to my Airport is using how much of the bandwidth in a simple graphical or stats format without requiring me to be a level 10 Black Belt or Chuck Norris' paternal tooth fairy?

    Why can't there be a simple utility that shows me which device connected to my Airport is using how much of the bandwidth in a simple graphical or stats format without requiring me to be a level 10 Black Belt or Chuck Norris' paternal tooth fairy?
    I need to see who is consuming the most bandwidth and limit that user/device. A very simple and dare I say it, legal, moral, and normal wish.

    They are not overloading the Airport. They are overwhelming the capacity of your Internet connection.
    No. It's not "shared equally". That's not how packet switched networks function.
    Most consumer grade routers do not have the ability to restrict bandwidth use on a per machine basis. You need relatively expensive (but readily available) equipment to do that.
    How many people are on the network? It can't be that hard to hunt them down.

  • My Next G Bigpond internet device will not work once I installed firefox. How do I change this without being connected to the internet?

    Hi. I installed Firefox yesterday as part of a work requirement. Since then, my Next G internet device will not work. How do I change the settings on Firefox without being connected to the internet? I have had to uninstall Firefox so I can use the internet.
    Please help as I need both simultaneously. Thank you.

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 & above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • TS1363 I want to use an old 3 GS iPhone that is no longer in service as a phone now as just an iPod to play music. When I connect the phone to the computer with iTunes running, iTunes says it can't connect to the device because it didn't get a valid respo

    I want to use an old 3 GS iPhone that is no longer in service as a phone now as just an iPod to play music. When I connect the phone to the computer with iTunes running, iTunes says it can't connect to the device because it didn't get a valid response from the device. How can I get the system to recognize the phone, and let me rename it as my iPod, instead of my phone?
    As an aside, the current installed operating system on this old iPhone is 4.2.1, but that wasn't one of the selectable options in the operating system list dropdown below. Don't know if that makes any difference.

    Hi maddogdne,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    Using an iPhone without a wireless service plan
    http://support.apple.com/kb/ht3406
    Cheers,
    - Judy

  • Can i use my time capsule to extend my wifi signal without physically connecting it to my router?

    I currently have a BT Homehub connected to a modem, which is connected to the ethernet port in my wall (which is downstairs). I bought a timecapsule to wirelessly back up my computer. It is connected via ethernet cable to my router. I have recently been having trouble getting a wifi signal in one room in my house (upstairs). To fix this i was wondering whether it is possible to move my time machine somewhere upstairs, to a location closer to this room, and have it transmit a wifi signal without it being connected to my router via ethernet. And if so how would i go about doing this?
    cheers
    jadidev

    Can i use my time capsule to extend my wifi signal without physically connecting it to my router?
    Yes, if you have an Apple router.
    No, if you have a BT router.
    IF....your Time Capsule is currently set up to provide a wireless network signal, you could add another Apple device...like an AirPort Express....to extend the Time Capsule wireless signal.

  • Can I use Apple TV on network without internet connection?

    I'm helping someone who has an Apple TV (version1) and their router and internet connection is down.  We need to use the AppleTV today to stream a video from her mac to the TV connected to the Apple TV for a presentation.  Can we just hook up the Mac and the AppleTV to a switch via Ethernet (or connnect wirelessly to an AirPort Base station) and stream the video without being connected to the internet?

    Welcome to the Apple Community.
    You can't just use a switch, but you can use a router or wifi access point without access to the internet, but you will need a DHCP server to give each device on the network an IP address.
    You may also be able to connect the Mac and Apple TV directly with an ethernet cable, I've tested this with the Apple TV 1, but not with the Apple TV 2.

  • 4 out of 5 devices connect to Time capsule. Last one to try to connect fails to connect, no matter which device it is.

    Prior to problem: All 5 devices (iMac, Mac Air, iPad and (2) iPhone 4) were surfing wirelessly on Airport express.
    Replaced AE with Time Capsule.
    Problem: Wife's iPhone could not connect to T.C. Other 4 devices connect without problem. Wife's iPhone can surf other wireless networks. After doing a total shut down of all devices and restart of each, starting with 3rd party router, then T.C., then each device one at a time... wife's iPhone can connect, but Mac Air can not. Observed that in each case, the one that can't connect is the last one to be restarted and attempt to connect. Did this a 3rd time. I chose my iPhone to be the last to try to connect . My iPhone can't connect but all other devices are connected. Every case: last to connect can't connect.
    Steps taken before realizing it was the "last device to try connecting" (back when I thought it was simply my wife's iPhone): Wifi Off/On. "Forget Network." Reset Network Settings. Power iPhone Off/On. Power T.C. Off/On. Turned T.C. wireless security Off/On. All these were done multiple times.
    It appears there is no hardware issue since all are capable of connecting to T.C., just not at the same time. I don't know much about protocols and addresses. Could it be that T.C. is fouling up the assignment of an address or channel or route or whatever to the 5th device that tries to connect? Is the 5th device left without a address, channel or route to the T.C.?
    My security is WPA2 Personal. It's on. The password is alphanumeric 9 characters. On my iPhone that can't connect, the satus wheel is spinning continuously beside my network's name. Tapping the blue arrow for more info shows the window that has "Forget this network" at the top, followed by DHCP, BootP and Static. DHCP is selected. The following fields are listed: IP Address, Subnet Mask, Router, DNS, Search Domain and Client ID. Most times, all of these fields are blank. Right now, the first two fields are filled in. IP address starts with 169 and subnet mask is 255.255.0.0
    Please help.

    Right now, the first two fields are filled in. IP address starts with 169 and subnet mask is 255.255.0.0
    That is auto IP and means the device was not able to pick up an IP from the dhcp server.
    I am scratching my head.. it is not one I have seen with Mac stuff or on these columns since I started answering questions.. it is seen in mixed environments fairly often that stuff doesn't play nice with each other. But Mac - Apple has shown fairly consistent wireless functionality.
    Is the TC brand new? Did you ring Apple and ask if they can sort it?
    When you are using 100% apple environment, to me that is their job to figure out.
    For what you can do, I would try and flash the TC back to 7.5.2 firmware. I have heard people say the latest TC that is not allowed but have a go.. if you run Lion certainly download and use exclusively 5.6 airport utility.
    Is the TC set to router or bridge? Is the TC the only router?
    Could you bypass at least the issue for now using the airport express plugged into the TC as an AP??

  • FTP connection on mobile device works over wifi but fails over 3G

    Hi all,
    Hoping someone can help, or has come across this issue.
    I am developing a mobile app using flash builder 4.6 with the flex 4.6 sdk. My app needs to transfer files via ftp.
    The issue I am experiencing is that the ftp connection establishes and files transfer without a problem when connected via wifi, on both android and ios platforms.
    However, when only connecting via a 3G connection on a device, a problem occurs. While I can establish a connection, when I send the USER command, I never receive a response.
    A simple view with code to reproduce this issue is listed below. Has anyone come across this problem? I have been searching far and wide but cannot find anything related.
    Could this be an issue with Adobe Air or the socket class? I have written equivalent code using the android sdk in eclipse, and a connection to the same server and user details works on both wifi and 3g connections.
    Any help would be appreciated.
    Thanks.
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
              <fx:Script>
                        <![CDATA[
                                  private var commands:Array;
                                  private var s:Socket;
                                  private var data_channel:Socket;
                                  private function connectToFtp():void
                                            var ftp_response:String;
                                            var data_response:String;
                                            var data_channel_ip:String;
                                            var data_channel_port:int;
                                            s = new Socket();
                                            s.addEventListener(Event.CLOSE, closeConnection);
                                            s.addEventListener(Event.CONNECT, connectionMade);
                                            s.addEventListener(IOErrorEvent.IO_ERROR, showError);
                                            s.addEventListener(SecurityErrorEvent.SECURITY_ERROR, showSecError);
                                            s.addEventListener(ProgressEvent.SOCKET_DATA, receiveReply);
                                            s.connect("mydomain.com", 21);
                                            function receiveReply(e:ProgressEvent):void{
                                                      ftp_response = s.readUTFBytes(s.bytesAvailable);
                                                      trace(ftp_response);
                                                      var code:String = ftp_response.substr(0, 3);
                                                      if (code == "220")
                                                                // connected.
                                                                // send user command
                                                                 s.writeUTFBytes("USER myUserName\n");
                                                                s.flush();
                                                      else if (code == "331")
                                                                // user command sent. password required
                                                                // send password
                                                                s.writeUTFBytes("PASS myPassword\n");
                                                                s.flush();
                                                      else if (code == "230")
                                                                // login successful
                                                                // change directory
                                                                s.writeUTFBytes("CWD /fibreSyncFtp/\n");
                                                                s.flush();
                                                      else if (code == "250")
                                                                // change directory successful
                                                                // send passive command
                                                                s.writeUTFBytes("PASV\n");
                                                                s.flush();
                                                      else if(code == "227")
                                                                //get the ip from the string response
                                                                var temp:String = ftp_response.substring(ftp_response.indexOf("(") + 1, ftp_response.indexOf(")"));
                                                                var data_channel_temp:Array = temp.split(",");
                                                                data_channel_ip = data_channel_temp.slice(0,4).join(".");
                                                                //calculate the port number from the last two digits - if this makes no sense, google
                                                                // FTP PROTOCOL - there are loads of guides that explain the server responses.
                                                                data_channel_port = parseInt(data_channel_temp[4]) * 256 + int(data_channel_temp[5]);
                                                                data_channel = new Socket(data_channel_ip, data_channel_port);
                                                                data_channel.addEventListener(ProgressEvent.SOCKET_DATA, receiveData);
                                                                s.writeUTFBytes("LIST\n");
                                                                s.flush();
                                                      else if (code == "125")
                                                                //use the new IP to open a second socket - this will transmit the data.
                                                                // Your first socket will transmit any commands you issue and this new socket will transmit the data
                                                      else if (code == "226")
                                                                // transfer complete
                                                                // close the connection
                                                                //s.close();
                                                      else if (code == "425")
                                                                // can't open connection
                                            function connectionMade(e:Event):void
                                                      trace("Connection Made");
                                            function receiveData(e:ProgressEvent):void{
                                                      data_response = data_channel.readUTFBytes(data_channel.bytesAvailable);
                                                      trace(data_response);
                                            function showError(e:IOErrorEvent):void{
                                                      trace(e.text);
                                            function showSecError(e:SecurityErrorEvent):void{
                                                      trace(e.text);
                                            function closeConnection(e:Event):void{
                                                      trace(e.type);
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Button top="10" label="FTP" click="connectToFtp()" horizontalCenter="0"/>
    </s:View>

    Probably you need to write your own AIR native extension, which uses the native Android sockets..I have the same problem and I'm just starting writing the extension...I guess there is no other way..At least you test with native android socket and you confirm is fine, so we know it should work

Maybe you are looking for

  • How can we add elements to component at run time  through java

    Hi, In my project ,I am using JArrayList to collect urls and I need to add those to JScrollPane(JTextArea) and this to frame. This works fine but I need the process of how the elements added to ArrayList simultaneusly added to JTextArea. pls suggest

  • Upgrading y Gx60 Hitman Other general questions!!!!!

    Ok first off i love my new laptop had it for about 3 months or so. But couple of things bug me one the single channel ram (its like they are saying PLEASE VOID MY WARRANTY) So im gonna have to open it up and at least put another 8gb stick of ram in i

  • Termination workflow -  (WS18900010)

    Hi experts, the functional team were busy with the configuration sap standard workflow for termination forms and processes and setting it up. although the workflow was activated it goes into the following errors. can i get hel for this workflow erors

  • Error in compiling java source code in a package

    hi all... am having a problem in compiling a java source code: i have a class named 'Test' in the package 'packone'.... i have another class named 'getTest' in the same package.... in the class getTest i am taking a reference to Test class... on comp

  • Crystal Reports 2011 Demo Install Error

    Downloaded the trial of Crystal Reports 2011 today (installer says it is SP2) and it will not install.  Searched the forums and the 'net and not finding anything that appears to be applicable to my situation, so here goes: Windows 7 64-bit Pro SP 1,